From: Chris R. <chr...@me...> - 2001-04-26 14:47:33
|
Roland Stigge <rol...@ep...> wrote: > Hi, > > how can I delete a referral from an LDAP tree? > > I'm preparing an $entry and update: > ----- > $entry = Net::LDAP::Entry->new; > $entry->dn("ref=\"ldap://asser/c=us,o=epigenomics\",o=epigenomics"); > $entry->changetype("delete"); > $entry->update($ldap); > ----- > > The result is: > return code: 10, message: Referral received :-) I don't know if the representation of knowledge (which is used when returning a referral/continuation reference) over LDAP is standardized or not. (It doesn't seem to be.) As it is therefore a proprietrary feature, you will have to check your server's documentation. You might find that you need to use a control. If there is a control called something like managedsait, that's the one you should probably use. Cheers, Chris |