lists.arthurdejong.org
RSS feed

Re: Issue with nslcd Retrieving 2000+ Entries from LDAP (AD)

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: Issue with nslcd Retrieving 2000+ Entries from LDAP (AD)



On Wed, 2025-02-05 at 10:11 +0530, Kokila Koks wrote:
> System Information:
> * nss-pam-ldapd Version: 0.9.8
> * LDAP Server: Active Directory
> nslcd Configuration Details:
> timelimit 5
> bind_timelimit 5
> pagesize 1000 
> I suspect the issue might be related to handling large result sets or
> the page size limit configuration.

If you run nslcd in debug mode you can get a little more details on
what is going wrong (you could also use the log option in nslcd.conf to
create a debug-level log). It is possible that some error is logged.

Some LDAP servers for instance set a maximum query size, irrespective
of paging that could cause problems. I'm actually not sure of AD
supports paging so you could also try disabling paging altogether.

This assumes that NSS and PAM have been correctly configured.

-- 
-- arthur - arthur@arthurdejong.org - https://arthurdejong.org/ --