[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Can't add data to new ou
- To: Michael Ströder <michael@stroeder.com>, openldap-software@openldap.org
- Subject: Re: Can't add data to new ou
- From: Erestor Elensar <erestor.elensar@gmail.com>
- Date: Thu, 01 Feb 2007 20:06:52 +0100
- In-reply-to: <45BA1E84.3070001@stroeder.com>
- References: <b39b43330701260130j11e73910v106f11017c778aa0@mail.gmail.com> <45BA1E84.3070001@stroeder.com>
- User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)
Michael Ströder schreef:
> gandalf istari wrote:
>> i have created a new ou with this command:
>> slapadd -l ./new-od.ldif without any errors
>
> Why didn't you use ldapadd for this single entry?
because its a part of a large script, and i have only here a problem.
>
>> 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 <http://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
>
> Did you check with too ldapsearch whether the entry
Yes, and ldap search don't find anything, but when i want to ad it again
i get a error that it already exists!
>
> OU=Recipients_Seny,OU=Recipients,OU=not_users,OU=users_sxo,DC=internal,DC=sodexho,DC=be
>
> is really present?
Yes this entry is present
>
> Ciao, Michael.
Thanks