[Date Prev][Date Next] [Chronological] [Thread] [Top]

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.262.1.10.7.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.262.1.10.7.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:

  ldap://ldap.nrca-ds.de

The connection is indeed a LDAPv3 connection. Will try to contact them to fix that broken installation.

Ciao, Michael.