Vladimir Dzhuvinov writes:
> For my next release I need to provide web clients with notification
> when a partial search result is returned by the LDAP server.
> 
> Can I safely assume that this occurs only if the time (LDAP code 3) or
> the size (LDAP code 4) limits are exceeded? Are there other situations
> when the server might return a partial result set?

(1) no, (2) yes.

First, there is also adminLimitExceeded (11) and in some older LDAP
protocol version, partialResults (9).

Then, there are pure error situations.  The server sends some search
results, then something breaks and it returns e.g. unavailable (52).

Finally, there are numerous situations which don't map cleanly to some
specific result code, but the server has to choose just one.  E.g. the
search traverses several subtrees which are chained (forwarded) to
different servers, and these servers return different result codes.
Now which single result code should the server return to the client?

-- 
Hallvard

Reply via email to