I hope someone can help...
We have an directory with a few objects that don't seem to have parents. We're not sure how they got in there. They could have been added using ldapmodify, or our application could have added them via JNDI. This is one of the DN's:
ifastProfileId=P_SUPER,ou=profile,ou=prod,ou=ifast,ou=ifastbase,dc=ifdsgroup,dc=com
We are fairly sure the organizational units ou=profile,ou=prod never existed, yet the P_SUPER object was create, and is returned in a search. We need to remove these entries in a hurry so I put together this LDIF...
DN: ifastProfileId=P_SUPER,ou=profile,ou=prod,ou=ifast,ou=ifastbase,dc=ifdsgroup,dc=com changetype:delete DN: ifastProfileId=P_SSII,ou=profile,ou=prod,ou=ifast,ou=ifastbase,dc=ifdsgroup,dc=com changetype:delete DN: ifastProfileId=P_SSBL,ou=profile,ou=prod,ou=ifast,ou=ifastbase,dc=ifdsgroup,dc=com changetype:delete
but the ldifmodify gives this error...
deleting entry "ifastProfileId=P_SUPER,ou=profile,ou=prod,ou=ifast,ou=ifastbase,dc=ifdsgroup,dc=com" ldap_delete: Other (e.g., implementation specific) error (80) additional info: could not locate parent of entry
As I say we need to quickly remove these objects. Can anyone give some suggestions?
Thanks, --DS
--On Friday, November 20, 2009 6:13 PM -0500 Dave Smith dave.smith.to@gmail.com wrote:
I hope someone can help...
As I say we need to quickly remove these objects. Can anyone give some suggestions?
Create the parents, delete the children, delete the parents?
Or, slapcat, fix the LDIF, reload.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org