[python-ldap] ReconnectLDAPObject and server controls in search results?
jfong at yelp.com
Wed Dec 7 17:08:59 EST 2016
Thanks for the quick reply Michael
Yes, this is an active directory server we're talking to.
I had a look at the demo, however that uses the asynchronous search
request. That works in our code, but then loses the ReconnectLDAPObject's
automated reconnection feature since that is only for synchronous requests.
Can SimplePagedResultsControl be used with the *synchronous* search
function? And if so, how do I get the resulting cookie?
On Wed, Dec 7, 2016 at 1:58 PM, Michael Ströder <michael at stroeder.com>
> 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
> > 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
> > 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
> > 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 --------------
An HTML attachment was scrubbed...
More information about the python-ldap