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

(ITS#3765) Leaf or non-leaf? That's the question...



Full_Name: Michael Ströder
Version: OPENLDAP_REL_ENG_2_3
OS: SuSE Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (83.121.39.239)


There are entries in my database hdb which can't be deleted since they are not
leafs but I can't see any entries below. I even tried to reload the whole
database but this didn't help either.

See yourself:

$ ldapdelete "ou=test311,ou=test31,ou=test3,ou=recursive
delete,ou=Testing,dc=stroeder,dc=de"       
SASL/EXTERNAL authentication started
SASL username: uidNumber=500+gidNumber=100,cn=peercred,cn=external,cn=auth
SASL SSF: 0
Delete Result: Operation not allowed on non-leaf (66)
Additional info: subordinate objects must be deleted first

$ ldapsearch -L -b"ou=test311,ou=test31,ou=test3,ou=recursive
delete,ou=Testing,dc=stroeder,dc=de" -s one
SASL/EXTERNAL authentication started
SASL username: uidNumber=500+gidNumber=100,cn=peercred,cn=external,cn=auth
SASL SSF: 0
version: 1

#
# LDAPv3
# base <ou=test311,ou=test31,ou=test3,ou=recursive
delete,ou=Testing,dc=stroeder,dc=de> with scope oneLevel
# filter: (objectclass=*)
# requesting: ALL
#

# search result

# numResponses: 1