[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap_result always transfers entire query result over network (ITS#487)

Full_Name: Karl O. Pinc
Version: 1.2.9-5
OS: Linux, RedHat 6.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

It appears that even when ldap_result is called with the "all" argument set to
the entire query result is tranfered over the network for each ldap_result
When the result set is large, performance is terrible.

I'm running nss_ldap version 105, and trying to use ldap to store unix groups.
Programs that getgrent (which returns "the next" group entry) through the group

database takes 7 seconds/getgrent call.  We've about 6000 entries in the group 
table.  This is clearly unusable.

Let me know if you need more info.

Thanks for the work.