Nagios XI Active Directory Auth, receiving error upon login
Posted: Thu Mar 21, 2013 11:43 am
I've recently installed Nagios XI and things have been going great so far. One issue I've run in to is LDAP/Active Directory authentication. I've tried using both the AD and LDAP components available on the exchange and neither seem to work.
If I install/configure the LDAP component using the web GUI, nothing happens. Upon logging in using my domain credentials, it says bad username/password. So I know it's not working, just not sure why.
If I install/configure the AD component using the web GUI, nothing happens, very similar to the LDAP component. If I ssh in to my Nagios XI box and configure the following file (/usr/local/nagiosxi/html/includes/components/active_directory/adLDAP/adLDAP.php) by hand, including elevated LDAP service account credentials, I receive the following error:
Any ideas?
If I install/configure the LDAP component using the web GUI, nothing happens. Upon logging in using my domain credentials, it says bad username/password. So I know it's not working, just not sure why.
If I install/configure the AD component using the web GUI, nothing happens, very similar to the LDAP component. If I ssh in to my Nagios XI box and configure the following file (/usr/local/nagiosxi/html/includes/components/active_directory/adLDAP/adLDAP.php) by hand, including elevated LDAP service account credentials, I receive the following error:
I've tried multiple domain admin accounts, service accounts, base DN's, domain controllers, really everything I can think of.exception 'adLDAPException' with message 'Bind to Active Directory failed. Check the login credentials and/or server details. AD said: Invalid credentials' in /usr/local/nagiosxi/html/includes/components/active_directory/adLDAP/adLDAP.php:383 Stack trace: #0 /usr/local/nagiosxi/html/includes/components/active_directory/adLDAP/adLDAP.php(341): adLDAP->connect() #1 /usr/local/nagiosxi/html/includes/components/active_directory/active_directory.inc.php(394): adLDAP->__construct(Array) #2 /usr/local/nagiosxi/html/login.php(300): active_directory_component_check_authentication('process_auth_in...', Array) #3 /usr/local/nagiosxi/html/login.php(356): check_login_credentials('jkeith', '********', Array, Array) #4 /usr/local/nagiosxi/html/login.php(61): do_login() #5 /usr/local/nagiosxi/html/login.php(31): route_request() #6 /usr/local/nagiosxi/html/login.php(2): sg_load('100590ECD861869...') #7 {main}
Any ideas?