[Date Prev][Date Next]
Re: Decoding error when splitting a DN with ldap_str2dn()
Howard Chu wrote:
Michael Ströder wrote:
Any clue what's wrong with this DN?
OID.0.2.2220.127.116.11.20=1 + CN=DIR DATEV D12 1:PN, O=DATEV eG, C=DE
BTW: Removing the spaces around , and + does not help either.
It appears to be LDAPv2 format.
Because of prefix "OID."? It should be simply like this?
0.2.218.104.22.168.20=1 + CN=DIR DATEV D12 1:PN, O=DATEV eG, C=DE
Did you specify that in the flags you passed to ldap_str2dn() ?
No. Will try to extend python-ldap C Lib wrapper...
BTW: This is a probably quite old public OpenLDAP server:
The connection is indeed a LDAPv3 connection. Will try to contact them
to fix that broken installation.