LDAP Integration: user list incomplete

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ditcmcaba
Posts: 8
Joined: Wed Aug 24, 2016 12:33 pm

LDAP Integration: user list incomplete

Post by ditcmcaba »

Hello,

My name is Lautaro and I'm having problems importing users from LDAP.
I can see a big users list but is not complete.
I cannot see users that are placed at the begining of the ldap tree.
I have no limitations in my OpenLDAP server. In my slapd.conf I have setting
'sizelimit -1'. I tried too set up 'timelimit -1' in my slapd.conf but I had the same problem.

I'm customer and I couldn't find a way to create a topic in 'Customer Support' forum. If anyone can tell me how to, I will appreciate it.

Thanks a lot, and sorry about my english, is really bad.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: LDAP Integration: user list incomplete

Post by rkennedy »

How many records are showing? It might be a limit with PHP to be honest. Could you post your /var/log/httpd/error_log and /var/log/httpd/ssl_error_log for us to look at? This should help identify if that's the culprit.

As for customer forums, you'll want to email [email protected] with your forum username and they'll get you added.
Former Nagios Employee
ditcmcaba
Posts: 8
Joined: Wed Aug 24, 2016 12:33 pm

Re: LDAP Integration: user list incomplete

Post by ditcmcaba »

Hi,
The app is showing 4371 users and my LDAP tree have 6795 users. My /var/log/http/error_log print a same single error line for each user (4372 equal lines).

Code: Select all

[Wed Aug 31 18:14:24 2016] [error] [client **.***.***.***] PHP Notice:  Undefined variable: image in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/index.php on line 640, referer: http://central2-nagios1.**********.***.ar/nagiosxi/includes/components/ldap_ad_integration/index.php
/var/log/http/ssl_error_log without any error.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: LDAP Integration: user list incomplete

Post by rkennedy »

I believe it's timing out waiting for results. Please open up /etc/php.ini, and modify a few variables.

Code: Select all

max_execution_time
max_input_time
memory_limit
Double what they are currently set at (30 / 60 / 128M by default I believe, so 60 / 120 / 256M). Then, try again - did this have any affect?
Former Nagios Employee
ditcmcaba
Posts: 8
Joined: Wed Aug 24, 2016 12:33 pm

Re: LDAP Integration: user list incomplete

Post by ditcmcaba »

Nothing changed. I set up these options in php.ini and showed the same quantity of users.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: LDAP Integration: user list incomplete

Post by rkennedy »

One thing I forgot to mention -- you'll need to restart apache after making changes to php.ini.

Just to double check - was this done?
Former Nagios Employee
ditcmcaba
Posts: 8
Joined: Wed Aug 24, 2016 12:33 pm

Re: LDAP Integration: user list incomplete

Post by ditcmcaba »

I'm aware of it. I do not think that the limitation comes from php. Something in the query is wrong.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: LDAP Integration: user list incomplete

Post by ssax »

Hmm, never seen this before.

Let's move this into a ticket, please send in an email to [email protected] with a descriptive subject and detailed body with a link back to this thread so that we can get a remote session setup.

Thank you
ditcmcaba
Posts: 8
Joined: Wed Aug 24, 2016 12:33 pm

Re: LDAP Integration: user list incomplete

Post by ditcmcaba »

I sent it. Thanks a lot.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: LDAP Integration: user list incomplete

Post by rkennedy »

Did you receive a rejection email by any chance? I looked through our system and couldn't find the ticket you mentioned.
Former Nagios Employee
Locked