[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Deleting a tree
On Mon, 6 Jan 2003, Jon Miner wrote:
> * Raf Meeusen (meeusen@acunia.com) [030106 11:34]:
> > > What is the absolute fastest way to delete a subtree in open ldap? I know
> > > about ldapdelete, but is there another way to do it?
> >
> > ldapdelete is the safest way to do it, and probably the fastest too. You
> > could consider editing your backend-DB directly, but it would require
> > extensive DB knowledge (not mentioning the probability of a corrupted
> > LDAP tree)...
>
> With ldapdelete you'll have to delete the tree from leaves down.. You
> can't just delete the root of a tree that has children..
yes you can. You have an option -r with recursively deletes a subtree...
kr,
Raf
>
> jon
>
>
--
------------------ System- and Network Administrator -------------------
ACUNIA nv raf.meeusen@acunia.com
Philipssite 5 - Floor 3 - Bus 3 tel: +32 (0) 16 31 00 20
3001 Heverlee, Leuven -- Belgium fax: +32 (0) 16 31 00 29
http://www.acunia.com
------------------------------------------------------------------------