Re: Empty User List When Importing Users LDAP
Posted: Fri Sep 30, 2016 5:38 pm
We upgraded to NagiosXI 5.2.9 and latest component 1.0.5. Still doesn't work, users list still empty. Please see attached image.
I also inserted the code, but file /tmp/ldap.debug is still empty:
[root@nagios02ecpb tmp]# ls -al
total 55756
drwxrwxrwt 5 root root 4096 Sep 30 15:31 .
dr-xr-xr-x 23 root root 4096 Sep 29 18:27 ..
-rw------- 1 nagios nagios 1121 Sep 14 16:38 .configtest.5bmv0He2
-rw------- 1 nagios nagios 998 Sep 14 16:36 .configtest.7orYNqE6
-rw------- 1 nagios nagios 998 Sep 14 16:34 .configtest.f3lFR3Iq
-rw------- 1 nagios nagios 998 Sep 14 16:35 .configtest.G2H6aaBS
-rw------- 1 nagios nagios 998 Sep 14 16:33 .configtest.HS826I4G
-rw------- 1 nagios nagios 999 Sep 14 16:37 .configtest.ncoWohCX
drwxrwxrwt 2 root root 4096 Sep 29 18:27 .ICE-unix
-rwxrwxrwx 1 root root 0 Sep 30 13:36 ldap.debug
drwxr-xr-x 9 root root 4096 Sep 30 13:25 nagiosxi
drwxrwxrwx 5 root root 4096 Oct 12 2015 nsis
-rw-r--r-- 1 root root 6124270 Oct 12 2015 nsis_0_1_1.tar.gz
-rw-r--r-- 1 root root 50919957 Jun 10 07:12 xi-latest.tar.gz
-rw------- 1 root root 0 Apr 5 2013 yum.log
We also see errors in ssl_error.log:
[Fri Sep 30 15:00:17 2016] [error] [client 10.246.201.215] PHP Warning: ldap_list(): Search: Operations error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/basicLDAP.php on line 126, referer: https://nagios02ecpb/nagiosxi/includes/ ... /index.php
[Fri Sep 30 15:00:17 2016] [error] [client 10.246.201.215] PHP Warning: ldap_get_entries() expects parameter 2 to be resource, boolean given in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/basicLDAP.php on line 127, referer: https://nagios02ecpb/nagiosxi/includes/ ... /index.php
I also inserted the code, but file /tmp/ldap.debug is still empty:
[root@nagios02ecpb tmp]# ls -al
total 55756
drwxrwxrwt 5 root root 4096 Sep 30 15:31 .
dr-xr-xr-x 23 root root 4096 Sep 29 18:27 ..
-rw------- 1 nagios nagios 1121 Sep 14 16:38 .configtest.5bmv0He2
-rw------- 1 nagios nagios 998 Sep 14 16:36 .configtest.7orYNqE6
-rw------- 1 nagios nagios 998 Sep 14 16:34 .configtest.f3lFR3Iq
-rw------- 1 nagios nagios 998 Sep 14 16:35 .configtest.G2H6aaBS
-rw------- 1 nagios nagios 998 Sep 14 16:33 .configtest.HS826I4G
-rw------- 1 nagios nagios 999 Sep 14 16:37 .configtest.ncoWohCX
drwxrwxrwt 2 root root 4096 Sep 29 18:27 .ICE-unix
-rwxrwxrwx 1 root root 0 Sep 30 13:36 ldap.debug
drwxr-xr-x 9 root root 4096 Sep 30 13:25 nagiosxi
drwxrwxrwx 5 root root 4096 Oct 12 2015 nsis
-rw-r--r-- 1 root root 6124270 Oct 12 2015 nsis_0_1_1.tar.gz
-rw-r--r-- 1 root root 50919957 Jun 10 07:12 xi-latest.tar.gz
-rw------- 1 root root 0 Apr 5 2013 yum.log
We also see errors in ssl_error.log:
[Fri Sep 30 15:00:17 2016] [error] [client 10.246.201.215] PHP Warning: ldap_list(): Search: Operations error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/basicLDAP.php on line 126, referer: https://nagios02ecpb/nagiosxi/includes/ ... /index.php
[Fri Sep 30 15:00:17 2016] [error] [client 10.246.201.215] PHP Warning: ldap_get_entries() expects parameter 2 to be resource, boolean given in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/basicLDAP.php on line 127, referer: https://nagios02ecpb/nagiosxi/includes/ ... /index.php