Hi,
In Active Directory, the default value for maximum number of results is 1000. That implies one must ask for pagination if the request could return more than 1000 results. (with ldapsearch the option is -E pr=1000/noprompt)
The Centreon code doesn’t make use of pagination for LDAP request and so, if we let the “Synchronize LDAP on login” option activated, the login of users is stuck a few minutes (between 2 and sometime 5!), which is not something acceptable. Also, if the group that interest us is after the 1000th result then it won’t appear in the form to configure an access group.
It’s important to note that when I execute the two requests (users & groups) manually with the ldapsearch command, with pagination, they never take more than a few second to execute although the about 1500 results I get. So maybe it’s not only the no use of pagination that is problematic with Centreon’s LDAP code…
To sum it up :
Is it possible for Centreon to make use of pagination for LDAP request to support results with more than 1000 records ? If not, is it possible that the user LDAP synchronization doesn’t block the login?
Needs Votes
Use pagination in LDAP requests
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
