sizelimit and SIZELIMIT_EXCEEDED

Michael Ströder michael at stroeder.com
Mon Jan 21 22:02:58 CET 2008


David S. wrote:
> When I call search_ext_s with sizelimit=n, I expect simply to get n or fewer
> entries in my result, but instead I get a SIZELIMIT_EXCEEDED exception {'info':
> '', 'desc': 'Size limit exceeded'}.

Hmm, the argument 'sizelimit' should be rather used with the async 
method search_ext(). You can start the search with search_ext() and 
receive the partial results with result3() until this exception is raised.

Ciao, Michael.



More information about the python-ldap mailing list