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

ldapdelete with OpenLDAP 2.0-alpha2?



Good afternoon!

ldapdelete shows a strange behaviour with OpenLDAP 2.0-alpha2 (still on the
dreaded AIX 4.2.1):

1) create o=HOME using slapadd
2) start slapd
3) add nod=FOO,o=HOME and nod=BAR,nod=FOO,o=HOME using ldapadd
4) ldapdelete -D cn=guru -w secret "nod=BAR,nod=FOO,o=HOME"
   -> success (no error message and exit code 0)
5) ldapdelete -D cn=guru -w secret "nod=FOO,o=HOME"
   -> success (no error message and exit code 0)
   But "nod=FOO,o=HOME" is still present!!
6) Retrieve ldapdelete from OpenLDAP 1.3.6 and:
   ldapdelete -D cn=guru -w secret "nod=FOO,o=HOME"
   -> failure (Operation not allowed on nonleaf)
   But "nod=FOO,o=HOME" is a leaf!
7) ldapdelete -D cn=guru -w secret "nod=BAR,nod=FOO,o=HOME"
   -> success (no error message and exit code 0)
   But "nod=BAR,nod=FOO,o=HOME" does not exist anymore!!

Have I missed something?

Frederic Poels.