sizelimit and SIZELIMIT_EXCEEDED
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'}.
Am I misunderstanding or misusing that argument?
Thanks for any help.
Peace,
David S.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
Re: sizelimit and SIZELIMIT_EXCEEDED
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.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
Re: sizelimit and SIZELIMIT_EXCEEDED
Michael Ströder <[EMAIL PROTECTED]> writes: > 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. > Aha, like raising StopIteration in a generator. Thanks. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
