[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) (198.40.24.216)


It appears that even when ldap_result is called with the "all" argument set to
0,
the entire query result is tranfered over the network for each ldap_result
call.
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.