Page 1 of 2

LDAP Integration: user list incomplete

Posted: Wed Aug 31, 2016 2:57 pm
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.

Re: LDAP Integration: user list incomplete

Posted: Wed Aug 31, 2016 3:23 pm
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.

Re: LDAP Integration: user list incomplete

Posted: Wed Aug 31, 2016 4:27 pm
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.

Re: LDAP Integration: user list incomplete

Posted: Thu Sep 01, 2016 11:53 am
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?

Re: LDAP Integration: user list incomplete

Posted: Thu Sep 01, 2016 2:55 pm
by ditcmcaba
Nothing changed. I set up these options in php.ini and showed the same quantity of users.

Re: LDAP Integration: user list incomplete

Posted: Thu Sep 01, 2016 3:02 pm
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?

Re: LDAP Integration: user list incomplete

Posted: Thu Sep 01, 2016 3:12 pm
by ditcmcaba
I'm aware of it. I do not think that the limitation comes from php. Something in the query is wrong.

Re: LDAP Integration: user list incomplete

Posted: Fri Sep 02, 2016 11:13 am
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

Re: LDAP Integration: user list incomplete

Posted: Tue Sep 06, 2016 10:57 am
by ditcmcaba
I sent it. Thanks a lot.

Re: LDAP Integration: user list incomplete

Posted: Tue Sep 06, 2016 2:21 pm
by rkennedy
Did you receive a rejection email by any chance? I looked through our system and couldn't find the ticket you mentioned.