[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.222.214.171.124.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.2126.96.36.199.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.