Re: Problems with deleting a reference in 389DS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

--
Jay Leafey - jay.leafey@xxxxxxxxxxxx
Memphis, TN
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux