OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: marijn on February 03, 2017, 12:20:02 pm

Title: [SOLVED] Problem to setup LDAP server - CSRF check failed
Post by: marijn 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
Title: Re: Problem to setup LDAP server - [CSRF check failed]
Post by: franco 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
Title: Re: Problem to setup LDAP server - [CSRF check failed]
Post by: marijn on February 03, 2017, 01:13:43 pm
Hi Franco,

Thanks for your fast reply!

and yup, it's working ;)

Thanks!

Marijn
Title: Re: [SOLVED] Problem to setup LDAP server - CSRF check failed
Post by: franco on February 03, 2017, 01:16:44 pm
Thank you for testing. We'll add this in 17.1.1 by default. :)