[Date Prev][Date Next]
Re: Deleting entries with children
Quoting kavita <firstname.lastname@example.org>:
> now if i want to delete dn => cn=r1,ou=resellers,o=organization which
> deletes all the dns under this dn.
Simple answer: You don't! (Think like this: It's like cutting the branch
of the tree you're sitting on)
Full answer: You first have to go down the branch, finding ALL children
(and perhaps 'children children' etc), and delete them BEFORE you
delete the branch you want to delete...
Turbo __ _ Debian GNU Unix _IS_ user friendly - it's just
^^^^^ / /(_)_ __ _ ___ __ selective about who its friends are
/ / | | '_ \| | | \ \/ / Debian Certified Linux Developer
_ /// / /__| | | | | |_| |> < Turbo Fredriksson email@example.com
\\\/ \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden