[python3-ldap] RFC 2696
Joseph L. Casale
jcasale at activenetwerx.com
Mon Oct 14 23:41:58 CEST 2013
> Hello Joseph,
> you should be able to send the request using either the sync or async
> strategy. The problem is how to build the "payload" of the control
> value: according to rfc you must create a searchControl Value of the
> following format:
>
> realSearchControlValue ::= SEQUENCE {
> size INTEGER (0..maxInt),
> -- requested page size from client
> -- result set size estimate from server
> cookie OCTET STRING
>
> You should be able to do that using the pyasn1 module included in the
> library but I must admit it''s not so easy to do it. I try to create a
> specific function of the connection object for handling the paged
> search in one of the next release of python3-ldap. Can you tell me
> which ldap server are you using and the parameter of the search so I
> can replicate it in my lab?
Hi Giovanni,
Thank you for the reply and the hint to use the pyasn1 module. I am attempting
to query large collections from Active Directory schema versions 2008R2 and up.
So the default page size is 1000 so this is what I was trying to incorporate.
Again, thank you very much for the time.
jlc
More information about the python3-ldap
mailing list