From: Roland S. <rol...@ep...> - 2001-04-26 15:20:16
|
Hi, Chris Ridd wrote: > > 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. Using OpenLDAP 2.0.7 now, I know that the client tools ldapmodify and ldapdelete use the Control "ManageDsaIT". I tried this one, but didn't succeed: ----- $ldap->delete("ref=\"ldap://asser/c=us,o=epigenomics\",o=epigenomics", control => {type => "ManageDsaIT", value => 1} ); ----- Any hint? Thanks in advance! bye, -- Roland Stigge Epigenomics AG Kastanienallee 24 www.epigenomics.com 10435 Berlin |