On 11/28/2014 09:45 AM, Kevin Thorpe wrote:
Hi, I'm having problems deleting something from 389DS. At one point I had a link to use an external LDAP server for authentication for a particular client. I now need to delete this but I am having trouble.
Firstly I can't find this object in either the directory manager or ldapadmin.
I can see the object using db2ldif:
<SNIP> but I can't delete with ldapdelete: [root@logger ~]# ldapdelete -D "cn=Directory Manager" -w mypassword -p 389 -h localhost -x dn=cn=bloggsco,dc=mycompany,dc=com ldap_delete: No such object (32) matched DN: dc=mycompany,dc=com
any ideas?
Just a thought, I don't think ldapdelete wants the DN in the form "dn=cn=...". Try to remove the "dn=" prefix from the DN.