[python-ldap] Multiple timeout values in python-ldap, which ones are applicable
vmittal05 at gmail.com
Thu Mar 18 04:26:29 EDT 2021
I am using python-ldap==3.1.0 with python3 to query my AD server.
With the following timeout values:
conn = ldap.initialize(ldap://server-ip)
Using 3 types of queries - synchronous search_s(), asynchronous with and
without paging search_ext()
I am not using any timeout in the _ext method.
One of my LDAP searches(asynchronous with paging) took about 14 minutes to
complete, in the customer environment. Eventually, the search was
Looking at the documentation, I am not sure which timeout value would be
I thought setting OPT_TIMEOUT should suffice for all kinds of searches.
What am I missing here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-ldap