Experiments with pyasn1 and preread control

Michael Ströder michael at stroeder.com
Thu Jul 19 17:03:12 CEST 2007

Andreas Hasenack wrote:
> On Thu, Jul 19, 2007 at 01:21:07PM +0200, Michael Ströder wrote:
>> Hello Andreas,
>> I've added your demo script to python-ldap's CVS as
>> Demo/pyasn1/prereadcontrol.py. I'd appreciate if you could implement the
>> decodeControlValue() method with pyasn1.
> I think that would be more difficult, there are lots of classes that
> would need to be created, I guess almost the entire LDAP specification
> :)

Hmm...do you really think so?

> I'll try something with openldap's internal functions, but last time I
> hit a rock because I needed the connection object to do that, and it
> wasn't available.

I'd be interested to implement support for the post-read control in
web2ldap because if you add/modify entries to OpenLDAP's back-config the
DNs may be modified (due to X-ORDERED).

Ciao, Michael.

More information about the python-ldap mailing list