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

RE: FW: Can I delete a subtree?



Mmm, thank josh, that's what I tried 'till i decided to send my previous
mail

I tried initializeing a DirContext  but also an LdapContext and reading
my OpenLDAP DSE ... 

> // Read the supportedcontrol from the root DSE
> Attributes attrs = ctx.getAttributes(
>     "ldap://localhost:389";, new String[]{"supportedcontrol"});

that's the reurn of supported controls, it's the ManageReferralControl
OID
supportedControl: 2.16.840.1.113730.3.4.2

That's the OID of the control I need
TreeDeleteControl: 1.2.840.113556.1.4.805

> 
> 
> What about a simple call to unbind()?
> 

That's the error message
Operation failed: [LDAP: error code 66 - subtree delete not supported]


> > 
> > So does any1 knows other free server that support controls ?
> > 
> > 
> > Thanks a lot for the answer, ...
> > 
> > bye
> > Luigi