[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Objects with with no parent objects...
- To: openldap-technical@openldap.org
- Subject: Objects with with no parent objects...
- From: Dave Smith <dave.smith.to@gmail.com>
- Date: Fri, 20 Nov 2009 18:13:52 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=71ZoFaJPNX/AeBFwNY/mW2J3RgV8X24RNua2mtUb1CM=; b=mbHAAtFvo3PU2KITa1mV0VyiTPH98LsZkiuilZav/cUxgBSUw7NylAq6vLyAo1V2QF spsjwkaA8ViILsB9Yj9/Sin2HAx7WCJpH4vI5npNoM3FO7EMpjkOuWbt/5r5Aqqc+hOP ZM6yrBkEFv5DTdz5jK0sT+lHC/5/hIi9Yh8sU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gkFr5RP/DQ507MPRBxaYc/4i3jT1ErMwRtgt+dqb0shHT9bW0KngmQhWdaztaVG92A CuT3Fs2BmAUCduPPkdUi6sUWUR1u7pmdb6xZSV9IBk573OJY2TeNTZpYVvDN9t+idHIV w8uWjPvRB6d1ldyEWPRgeWD1d6TyjE0WFihLo=
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