Page 2 of 2

Re: LDAP Authentication

Posted: Mon Oct 03, 2016 2:10 pm
by rkennedy
What type of LDAP server are you running, and what version of it? I'll try to replicate things on my end here.

Also, let's enable debugging to see if we can get any useful output.

Code: Select all

sed -i 's/\/\/ Otherwise check authentication/ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);/g' /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/ldap_ad_integration.inc.php
Now, watch these log files -

Code: Select all

tail -f /var/log/httpd/*error_log
Try to authenticate once again, and then please post the output from the tail.

To turn off the debugging, run the following -

Code: Select all

sed -i 's/ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);/\/\/ Otherwise check authentication/g' /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/ldap_ad_integration.inc.php