[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5172) slash in dn
Full_Name: Reinhold May
Version: 2.3.35
OS: GNU/Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (85.216.115.71)
I'm fairly new to OpenLDAP and hope I've not misunderstood things... in that
case: sorry.
I've been trying to import the following .ldif:
dn: dc=somedomain,dc=org
objectclass: top
objectclass: dcObject
objectclass: organization
o: somedomain LDAP
dc: somedomain
dn: ou=My address book,dc=somedomain,dc=org
objectclass: top
objectclass: organizationalUnit
ou: My address book
dn: ou=With/Slash,ou=My address book,dc=somedomain,dc=org
objectclass: top
objectclass: organizationalUnit
ou: Medical
dn: cn=With/Slash,ou=My address book,dc=somedomain,dc=org
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: mozillaAbPersonAlpha
cn: With/Slash
sn: With/Slash
The "/" results into the following error message:
ldap_add: No such object (32)
additional info: Parent does not exist
If my last entry reads:
dn: cn=WithoutSlash,ou=My address book,dc=somedomain,dc=org
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: mozillaAbPersonAlpha
cn: WithoutSlash
sn: WithoutSlash
slapd accepts the entry and adds it to its directory.
I've read RFCs 2849 (about LDIF) and 2253 (about DNs) and can't even find "/" to
be a special character. But just in case it was forgotten, I tried to represent
it as "\/" and "\2f" but neither solution helped.