OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Problem to setup LDAP server - CSRF check failed
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Problem to setup LDAP server - CSRF check failed  (Read 5190 times)

marijn

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
[SOLVED] Problem to setup LDAP server - CSRF check failed
« on: February 03, 2017, 12:20:02 pm »
Hi All,

I started to implement and test OpnSense 17.1, especially because of the brand new release, and; my compliments, it looks really nice!

The problem I'm facing:

I'm unable to setup an LDAP server, everything seems to go will but if I press on save I will get the following error:

CSRF check failed. Your form session may have expired, or you may not have cookies enabled.

A quick google showed my a topic on this forum (https://forum.opnsense.org/index.php?topic=3484.0) but I'm not sure if this is related.

edit: I tried "of course" multiple browsers :)

can anyone point in the right direction?

Thanks,

Marijn
« Last Edit: February 03, 2017, 01:14:11 pm by marijn »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: Problem to setup LDAP server - [CSRF check failed]
« Reply #1 on: February 03, 2017, 12:46:50 pm »
Hi Marijn,

Can you try this patch? https://github.com/opnsense/core/commit/f20640d0

Applies from the console:

# opnsense-patch f20640d0


Cheers,
Franco
Logged

marijn

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Problem to setup LDAP server - [CSRF check failed]
« Reply #2 on: February 03, 2017, 01:13:43 pm »
Hi Franco,

Thanks for your fast reply!

and yup, it's working ;)

Thanks!

Marijn
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: [SOLVED] Problem to setup LDAP server - CSRF check failed
« Reply #3 on: February 03, 2017, 01:16:44 pm »
Thank you for testing. We'll add this in 17.1.1 by default. :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Problem to setup LDAP server - CSRF check failed
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2