[python-ldap] Ldif parser bug?
Michael Ströder
michael at stroeder.com
Wed Sep 30 10:30:21 CEST 2015
Tobias Diaz Diaz-Chiron wrote:
> Ok, thank you... I'm working on that...
>
> My LDIF is obtained from a telecom server that send users data in ldif
> format. In the ldif some DNs has spaces and some not...
Thinking about this FILL some more I wonder how leading spaces in attribute
values shall be handled. This might get complex and I'm a bit concerned of
interop issues.
First try to fix your specific case in LDIFParser._next_key_and_value()
probably a *appending* another specific elif clause.
Ciao, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150930/2dc49f1a/attachment-0001.bin>
More information about the python-ldap
mailing list