Page 1 of 1

Nagios XI - Ldap autentication failure

Posted: Tue Nov 01, 2016 2:40 am
by rohit2589
Getting below error, while performing Ldap integration for multiple Nagios XI present in the environment using console.

Unable to authenticate: 80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 52e, v2580


I have already done AD integration and it worked fine,but for ldap itsn't working. I am pretty sure that the credentials are working fine.

Can anyone suggest, how to make it work.

Re: Nagios XI - Ldap autentication failure

Posted: Tue Nov 01, 2016 3:13 pm
by rkennedy
What type of LDAP server is running on the backend? Can you show us a screenshot of your settings?

Let's get a bit more verbosity going. Please turn on debugging for the LDAP component by using the following command -

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
Then, run a tail on your HTTP log files -

tail -f /var/log/httpd/*error_log

Now, try to submit the information once again to authenticate. Send over the information that the tail ends up spitting out.

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