[python-ldap] ReconnectLDAPObject and server controls in search results?

Michael Ströder michael at stroeder.com
Wed Dec 7 16:58:08 EST 2016


Jen Fong via python-ldap wrote:
> I now need to support fetching more results than is allowed by our
> server-side limit, so plan to use the SimplePagedResultsControl to fetch the
> results in pages.

Which LDAP server? Only MS AD has this strange behaviour of allowing to
circumvent search size limits with this control.

> However, I couldn't find in the documentation how to retrieve the resulting
> control cookie in order to progress to the next page when using
> LDAPObject.search_ext_s since it returns simply the list of results for the
> page. Is it possible to use SimplePagedResultsControls with
> ReconnectLDAPObject.search_ext_s ?

See Demo/page_control.py in the source tar.gz.

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20161207/888c054b/attachment.bin>


More information about the python-ldap mailing list