Empty User List When Importing Users LDAP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nxcc
Posts: 7
Joined: Tue May 31, 2016 6:12 pm

Re: Empty User List When Importing Users LDAP

Post by nxcc »

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
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Empty User List When Importing Users LDAP

Post by dwhitfield »

I hate to ask you to upgrade again, but 5.3.0 (released today) does have three LDAP improvements.

Additionally, I notice that tmcdonald mentioned using the 1.0.6 LDAP component, but you mentioned upgrading to 1.0.5. Was there are reason you could not upgrade further, or was it just a typo?
nxcc
Posts: 7
Joined: Tue May 31, 2016 6:12 pm

Re: Empty User List When Importing Users LDAP

Post by nxcc »

Hi,

We upgraded to 5.3.0 and the component version is 1.0.6. Same result, see attached.

Thanks,
Nick
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Empty User List When Importing Users LDAP

Post by tmcdonald »

We might need to move this to an email ticket so we can get a remote session scheduled. Can you email [email protected] with a link back to this thread for reference?
Former Nagios employee
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Empty User List When Importing Users LDAP

Post by ssax »

Ticket received, locking this thread, we will continue support through the ticket.

Thank you
Locked