Page 1 of 1

no longer able to import users from LDAP/AD

Posted: Wed Oct 23, 2019 11:16 am
by jh129666
No longer able to import users from LDAP/AD. There are no errors in the nagios XI UI, but the below errors are in the error log for httpd. In the UI, it seems like it connects but no users are returned.

One of the errors is "Invalid credentials", but I have verified that the credentials are correct by doing an ldapsearch.

running nagios XI 5.6.7.



[Wed Oct 23 15:50:03.188045 2019] [:error] [pid 50730] [client xxx.xx.xxx.xx:57833] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491, referer: http://xxx.xx.xxx.xx/nagiosxi/includes/ ... /index.php
[Wed Oct 23 15:50:04.142150 2019] [:error] [pid 50730] [client xxx.xx.xxx.xx:57833] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491, referer: http://xxx.xx.xxx.xx/nagiosxi/includes/ ... /index.php
[Wed Oct 23 15:50:04.317631 2019] [:error] [pid 50730] [client xxx.xx.xxx.xx:57833] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: http://xxx.xx.xxx.xx/nagiosxi/includes/ ... /index.php
[Wed Oct 23 15:50:04.317765 2019] [:error] [pid 50730] [client xxx.xx.xxx.xx:57833] PHP Notice: Trying to get property of non-object in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/index.php on line 470, referer: http://xxx.xx.xxx.xx/nagiosxi/includes/ ... /index.php
[Wed Oct 23 15:50:04.317782 2019] [:error] [pid 50730] [client xxx.xx.xxx.xx:57833] PHP Fatal error: Call to a member function folder_listing() on a non-object in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/index.php on line 473, referer: http://xxx.xx.xxx.xx/nagiosxi/includes/ ... /index.php

Re: no longer able to import users from LDAP/AD

Posted: Wed Oct 23, 2019 12:06 pm
by cdienger
I'm working with another customer who just ran into this as well. There appears to be an issue with how the password is getting submitted when the listing is supposed to happen. I haven't been able to reproduce it yet so I'd like to get a profile from Admin > System Config > System Profile > Download profile. Please also provide me with a copy of the /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/ directory from your system. PM both these items to me.