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

Re: Deleting entries with children



Quoting kavita <kavita@worldgatein.net>:

> 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   turbo@tripnet.se
  \\\/  \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden