[Date Prev][Date Next]
Re: Deleting entries with children
Quoting kavita <email@example.com>:
> 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 firstname.lastname@example.org
\\\/ \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden