no longer able to import users from LDAP/AD

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jh129666
Posts: 98
Joined: Mon Feb 11, 2013 3:45 pm

no longer able to import users from LDAP/AD

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked