<div dir="ltr">Thanks for the quick reply Michael<div><br></div><div>Yes, this is an active directory server we're talking to.</div><div><br></div><div>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.</div><div><br></div><div>Can SimplePagedResultsControl be used with the *synchronous* search function? And if so, how do I get the resulting cookie?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 7, 2016 at 1:58 PM, Michael Ströder <span dir="ltr"><<a href="mailto:michael@stroeder.com" target="_blank">michael@stroeder.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Jen Fong via python-ldap wrote:<br>
> I now need to support fetching more results than is allowed by our<br>
> server-side limit, so plan to use the SimplePagedResultsControl to fetch the<br>
> results in pages.<br>
<br>
</span>Which LDAP server? Only MS AD has this strange behaviour of allowing to<br>
circumvent search size limits with this control.<br>
<span class=""><br>
> However, I couldn't find in the documentation how to retrieve the resulting<br>
> control cookie in order to progress to the next page when using<br>
> LDAPObject.search_ext_s since it returns simply the list of results for the<br>
> page. Is it possible to use SimplePagedResultsControls with<br>
> ReconnectLDAPObject.search_<wbr>ext_s ?<br>
<br>
</span>See Demo/page_control.py in the source tar.gz.<br>
<br>
Ciao, Michael.<br>
<br>
</blockquote></div><br></div>