Hi All,
I am trying to do AD authentication in our environment for XI. Used below guide:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
However still not able to login through AD credentials. I created user with my AD credential and dummy password but not able to login thru AD credentials.
Checked on AD side and as per windows team everything is working as expected.
AD Authentication to NagiosXI
Re: AD Authentication to NagiosXI
Did you setup SSL AD authentication as well?
What version of XI are you running? You can grab it from the bottom left hand side of the XI web interface.
Go to Admin > Manage Components and let us know the version of the Active Directory Integration component you are using.
Are you seeing anything related in your /var/log/httpd/error_log or /var/log/httpd/ssl_error_log?
You can enable debugging by editing this file:
/usr/local/nagiosxi/html/includes/components/active_directory/adLDAP
Find line 402 (this line):
And add this after it:
So it looks like this:
Then run this command:
Try to login again then post the full output of the tail command in code tags so that we can see the errors.
What version of XI are you running? You can grab it from the bottom left hand side of the XI web interface.
Go to Admin > Manage Components and let us know the version of the Active Directory Integration component you are using.
Are you seeing anything related in your /var/log/httpd/error_log or /var/log/httpd/ssl_error_log?
You can enable debugging by editing this file:
/usr/local/nagiosxi/html/includes/components/active_directory/adLDAP
Find line 402 (this line):
Code: Select all
ldap_set_option($this->_conn, LDAP_OPT_REFERRALS, 0);Code: Select all
ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);Code: Select all
ldap_set_option($this->_conn, LDAP_OPT_REFERRALS, 0);
ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);Code: Select all
tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log-
avijit_bhardwaj
- Posts: 17
- Joined: Wed Feb 25, 2015 11:56 pm
Re: AD Authentication to NagiosXI
Hi Ssax,
Got the issue fixed. Found out I was not using DC servers with fqdn. When enabled log found it was unable to contact the server. Now its working fine. Thanks a lot for your assistance.
Got the issue fixed. Found out I was not using DC servers with fqdn. When enabled log found it was unable to contact the server. Now its working fine. Thanks a lot for your assistance.
Re: AD Authentication to NagiosXI
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee