[python-ldap] Fwd: Pagination in python-ldap 2.4
michael at stroeder.com
Tue Dec 29 04:23:47 EST 2015
John Theodore wrote:
> I found some examples online, but they all seem to be for python-ldap 2.3,
> and the code they used is deprecated.
> Can someone give me a simple example of querying for results beyond the
> size limit?
I guess you're referring to the Simple Paged Results control.
See Demo/page_control.py in python-ldap's source distribution.
> Though there are 18k results, but the size limit is 10k. How can I use
> python-ldap with paged results to get all the results?
BTW: Working around a size limit with Simple Paged Results control only works
with MS AD but not other LDAP servers.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
More information about the python-ldap