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

Multiple ou entries are added



Hi,
If I add following ldif  with slapadd(attribute 'ou' and 'ou' in dn: are different):
dn: ou=testou.auto,dc=my-domain,dc=com
ou: testou.misc
objectClass: top
objectClass: organizationalUnit

Slapadd doesn't evalute it as an error in ldif but it adds 'ou' from dn as another attribute.
Added entry then looks like:
# testou.auto, my-domain.com
dn: ou=testou.auto,dc=my-domain,dc=com
ou: testou.misc
ou: testou.auto
objectClass: top
objectClass: organizationalUnit

Is this expected behavior or a bug?
Tested with openldap-2.4.39

-- 
David Spurek