[python-ldap] Problems with Syncrepl in refresh and persist mode when reconnecting after database changes

Ilya Etingof ilya at glas.net
Mon May 28 11:35:46 CEST 2012


It looks like a bug in pyasn1 0.1.3 - it fails on your encoding as you 
mention. However it works with pyasn1 0.1.4rc4:

>>> from pyasn1.codec.ber import decoder
>>> decoder.decode('\xa3\x17\x01\x01\xff1\x12\x04\x10\xad\xad\x1a\x14,U\x101\x8cT\x0f}\xd3W\xabt')
(Boolean('True'), '')
>>>

http://sourceforge.net/projects/pyasn1/files/pyasn1/0.1.4/pyasn1-0.1.4rc4.tar.gz/download

-ilya

> I tested with pyasn1 0.1.3 and python-ldap 2.4.9.
> Any pointers as to why this is not working would be fantastic.


More information about the python-ldap mailing list