[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: ldapdelete & ldapmodify--No such object (ITS#420)
> This works when the ldif file looks like this:
> dn: Bart Simpson, o=The Washington Hospital, c=US
> # ldapdelete -D "cn=Manager, o=The Washington Hospital, c=US"
> -W "cn=Bart Simpson, o=The Washington Hospital, c=US"
> Enter LDAP Password:
> ldap_delete: No such object
> ldap_delete: matched: O=THE WASHINGTON HOSPITAL,C=US
This would be because the DN you are trying to delete:
cn=Bart Simpson, o=The Washington Hospital, c=US
is not the same as the DN you added
Bart Simpson, o=The Washington Hospital, c=US
I'd say that the DN you added is probably not legal, but you've
got schemacheck switched off in your config file, so you were
allowed to add it - you can probably delete it too if the DNs
match.
Bernard.
---
Bernard Gardner
UUNET Asia Pacific Operations
Email: Bernard.Gardner@au.uu.net
Phone: +61 2 94332124
Mobile: +61 4 12207040
Fax: +61 2 94375888
Mail: 39 Herbert St., St Leonards, NSW, Australia, 2065