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

Re: JLDAP: No results on multiple synchronous searches

> http://developer.novell.com/documentation/jldap/jldapenu/api/com/novell/ldap/LDAPSearchResults.html#getCount()
> and note that the getCount method "reports the number of results 
> received so far". It's a synchronouos search, so you have access to the 

I did see that.  I did understand it.  However, I also do not see any 
methods via LDAPSearchResults to indicate when the response has been received.

As I said in my post, if I use next(), I get an exception.  I don't get an
exception along the lines of "EAGAIN", I get 82, LOCAL ERROR.  And perhaps
I should also point out, that in this situation, hasMore () returns *true*.
And in this case, I can even insert a 5000 ms sleep, next () will still fail.

Am I supposed to treat 82 as a try-again result code?  Does hasMore ()
not necessarily mean the result has more YET?  Am I supposed to guess when
to query the object?

> Expecting the software to behave how it does not.

Yay, patronizing.

(Please reply to the list, not to All.  I don't need two copies.)