[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
how to delete ou without attribute
- To: openldap-general@OpenLDAP.org
- Subject: how to delete ou without attribute
- From: Dirk Vleugels <dv@de.uu.net>
- Date: 15 Mar 1999 18:36:38 +0100
- User-agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald)
Hello,
i added the following entries to the tree:
--cut
dn: cn=ten,ou=ten,ou=Groups,dc=de,dc=uu.net
cn: ten
objectclass: posixGroup
objectclass: top
gidnumber: 903
memberuid: dv
creatorsname: cn=root,dc=de,dc=uu.net
createtimestamp: 19990315132649Z
dn: ou=ten,ou=Groups,dc=de,dc=uu.net
objectclass: organizationalUnit
objectclass: top
creatorsname: cn=root,dc=de,dc=uu.net
createtimestamp: 19990315132755Z
--cut
The second entry lacks every attribute. We normaly use a second
"ou=ten" entry. Anyways, these entries look fine for me, but i can't
find them with ldapsearch and gq. "ldapsearch objectclass=*" does work
though (or you couldn't see the above entries ;-)!
The only way to delete these entries (imo) is:
- export via ldapsearch -L objectclass=*
- delete the above entries
- rebuild the database via ldif2ldm
Any way to avoid this?
Regards,
Dirk
--
Dirk.Vleugels@de.uu.net http://www.de.uu.net
Tools & Standards UUnet Deutschland GmbH
Tel. +49 231 972 00 Emil-Figge-Strasse 80
Fax. +49 231 972 1180 44227 Dortmund, Germany