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

RE: Can't add data to new ou



Try and slapcat the data store save it as a .ldif file . You can use this
ldif file to analyse the data.

Your new OU subtree may not be correct. Check from right to left every
subtree do exists and the order is correct
CN=SOSCATALOG,OU=Recipients_Seny,OU=Recipients,OU=not_users,OU=users_sxo,DC=
internal,DC=sodexho,DC=be
- Kumuthiny
-----Original Message-----
From:
openldap-software-bounces+kumuthiny.srilakshmanan=auspost.com.au@OpenLDAP.or
g
[mailto:openldap-software-bounces+kumuthiny.srilakshmanan=auspost.com.au@Ope
nLDAP.org] On Behalf Of Erestor Elensar
Sent: Sunday, 04 February 2007 9:15 PM
Cc: openldap-software@openldap.org
Subject: Re: Can't add data to new ou


Michael Ströder schreef:
> Erestor Elensar wrote:
>> 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.
>> [..]
>>>
"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!
> 
> I suspect something's wrong with you "large script" using slapadd.
Here is the "large script" that we use.

Thanks


> 
> Ciao, Michael


Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website.

The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged.  It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. 

If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.