[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Missing structural object, ldapadd says it's there, ldapdelete says it isn't
> On May 1, 2018, at 2:35 AM, Ole Nomann Thomsen <ole.nomann@stil.dk> wrote:
>
> I decide to add the missing structural object:
>
> ldapadd -h localhost -p 3890 -f missing.ldif -D "..." -w "..."
>
> with missing.ldif:
>
> dn: ou=Authentication,o=UNI-C,c=DK
> ou: Authentication
> objectClass: organizationalUnit
>
> Result:
>
> adding new entry "ou=Authentication,o=UNI-C,c=DK"
> ldap_add: Already exists (68)
>
> And this log-entry:
>
> conn=10182 op=1 ADD dn="ou=Authentication,o=UNI-C,c=DK"
> slap_queue_csn: queueing 0x7f63c811e390 20180501061454.852525Z#000000#000#000000
> conn=10182 op=1 RESULT tag=105 err=68 text=
>
You cannot use ldapadd on already existing entry. You need to do an ldapmod.