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

previous results in new search (ITS#404)



Full_Name: Rolf Jakob
Version: 1.2
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.209.126.21)


A call to ldap_result supplies search results from a previous unfinished
ldap_search
in case you started an ldap_search before ldap_result returned with
LDAP_SUCCESS.
Clear ? No ?
Ok, what I did was : I started ldap_search which I know would deliver more than
one result. As I started to write a C++ class for this, I took only the first
result and with the next ldap_search for another pattern w/o disconnecting I
got
the remaining results from the previous search.
Now I take all results as this was my intention anyway and it works great.
I just think with a new ldap_search it should throw away the old results.