[Date Prev][Date Next]
Enabling LDAP client cache (ldap_enable_cache) causes lockup (ITS#1084)
Full_Name: Phil Bingham
OS: Linux & Solaris
Submission from: (NULL) (22.214.171.124)
When I enable client-side caching using ldap_enable_cache, when I perform a
the client locks up, until the timeout.
I have had a quick look at the code:
In ldap_search() (search.c) ldap_check_cache seems to work, and returns the
ldap_search_st() which calls ldap_result() which waits for the result, until
Now, when the result is already in the cache, do we need to do wait4msg etc?
Can't we just get the existing result out of ld somehow, and skip ldap_result?
If I set a timeout, ldap_search_st does not return -1, and I get an assertion
ldap_chkResponseList returns NULL
dnsserver: getentry.c:30: ldap_first_entry: Assertion `chain != ((void *)0)'