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

How to delete an entire branch of the tree?



Hi all!

I would like to know what is the ldap command that deletes all the entries under certain branch of the tree. For example, I tried something like:

ldapdelete -x -D "cn=root,ou=myorgunit,o=myorg,dc=mydc" -W 'cn=*,ou=myorgunit,o=myorg,dc=mydc'

but this doesn't work.
Thanks,
Alejandra

______________________________________________________________________
Alejandra Moreno Espinar
at rete ag

mailto:alejandra.moreno@atrete.ch, http://www.atrete.ch
snail mail: Oberdorfstrasse 2, P.O. Box 674, 8024 Zurich, Switzerland
voice: +41-1-266 55 55, direct: +41-1-266 55 91, fax: +41-1-266 55 88
_____________________________________________________________________