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

Can't add data to new ou



Hi,
 I'm quite new with LDAP so ....

 i have created a new ou with this command:
slapadd -l ./new-od.ldif    without any errors

dn: ou=Recipients_Seny, ou=Recipients, ou=not_users, ou=users_sxo, dc=internal,dc=sodexho,dc=be
ou: Recipients_Seny
objectClass: top
objectClass: organizationalUnit

when i add data i get this error:
igor:~# ldapadd -c -x -S /var/log/sync-ldap/ldapadd-userinfo.log -D "cn=admin,dc=internal,dc=sodexh
o,dc=be" -w xxx -h 127.0.0.1 -P 3 -f ./sos.ldif
adding new entry "CN=SOSCATALOG,OU=Recipients_Seny,OU=Recipients,OU=not_users,OU=users_sxo,DC=intern
al,DC=sodexho,DC=be"
ldap_add: No such object (32)
        matched DN: ou=Recipients,ou=not_users,ou=users_sxo,dc=internal,dc=sodexho,dc=be


the ldif:
dn: CN=SOSCATALOG,OU=Recipients_Seny,OU=Recipients,OU=not_users,OU=users_sxo,DC=internal,DC=sodexho,DC=be
cn: SOSCATALOG
displayName: SOSCATALOG
mail: SOSCATALOG@sodexho-be.com
givenName: SOSCATALOG
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
sn: SOSCATALOG

what must be done to solve this?

TIA