[prev in list] [next in list] [prev in thread] [next in thread]
List: openldap-software
Subject: Re: ldap_delete: No such object
From: kunkee () neosoft ! com (Randy Kunkee)
Date: 2000-08-31 17:33:51
[Download RAW message or body]
> ldapdelete gives a No such object error (ldapsearch has the
> same problem). This is how I used it:
> ldapdelete -f ~/Entrees_ldap/entree1.ldap -D "cn=root,
> o=Experian, dc=FR" -w secret
>
> The exact output of the command is :
> ldap_delete: No such object
> ldap_delete: matched: O=EXPERIAN,DC=FR
>
> Here is the entree1.ldap file:
> cn=Kadda SAHNINE, o=Experian, dc=FR
> objectclass=person
> cn=Kadda SAHNINE
> sn=Kadda
> description=Ayatollah de l'info libre
> mail=linuxity.dyn.ml.org
>
> Yet, this entry exists in the id2entry.dbb file (ldapadd
> worked fine)
>
> I also tried to delete it giving ldapdelete only the dn,
> but it didn't work better
>
> I think it's a very stupid mistake, but I can't find out
> where it is.
Well, it is. You should only send DNs to ldapdelete. All that other
stuff (objectclass=person, etc.) is not recognizable to ldapdelete.
The first time you tried this command, it probably deleted
"cn=Kadda SAHNINE, o=Experian, dc=FR" and then failed on "objectclass=person".
Now if fails earlier because "cn=Kadda SAHNINE, o=Experian, dc=FR" is already
deleted.
Randy
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic