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

FW: Can I delete a subtree?



Hi all,

  I have a doubt about controls and extended operation in OpenLDAP.
Does exist a control to force the removal of an entry AND its subtree ?

I'm using JNDI to access and operate my LDAP server, so I'm forwarding a
brief mail exchange about the question.


Thanks a lot for the help

bye
Luigi

> 
> 
> Luigi Spinoglio wrote:
> > 
> > >It's not that JNDI does not have a function to delete a subtree.
> > >It's that the LDAP protocol does not have a function to delete
> > >a subtree.
> > 
> > But why then can I delete an entry with its subtree with 
> ldapdelete and GQ ?
> > Do THEY recurse somehow ?
> 
> Yes.
> 
> 
> > 
> > >If you're accessing Active Directory then you can
> > >use their TreeDelete LDAP control. You can activate
> > >that control in JNDI using code like:
> > 
> > Isn't there a similar control for ldap directory (in 
> particular i'm using an OpenLDAP server)
> 
> OpenLDAP doesn't support the TreeDelete control.
>