[python-ldap] Fwd: Pagination in python-ldap 2.4
Michael Ströder
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.
Ciao, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20151229/a8435f83/attachment.bin>
More information about the python-ldap
mailing list