[Date Prev][Date Next] [Chronological] [Thread] [Top]

how to delete ou without attribute



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