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

Re: ldapdelete failure


On Wednesday 19 November 2003 15:21, Herbst Rainer wrote:
> I am recently experimenting with different DIT and came across strange
> behaviour of the ldapdelete tool: bash> ldapdelete -v -x -c -r -W -D
> "cn=Admin,dc=uni-potsdam,dc=de" "ou=People,dc=uni-potsdam,dc=de" ...
> deleting entry "ou=People,dc=uni-potsdam,dc=de"
> deleting children of: ou=People,dc=uni-potsdam,dc=de
> Delete Result: Operation not allowed on non-leaf (66)
> Additional info: subtree delete not supported
> The DN is the root DN specified in the slapd.conf, so I should have any
> permisions on any object in the db, shouldn't I?
> This behaviour occures independently on are there entries below the
> ou=People or not. And it occures only on the ou=People. Other OUs, like
> Groups etc. are deleted even if there are entries below them!

AFAIK OpenLDAP 2.1.x's backends do not support deletion of non-leaf attributes 
in one call.
You have to delete all children of an entry before you can delete the entry 

Peter Marschall
eMail: peter@adpm.de