From: Kurt D. Z. <Ku...@Op...> - 2001-04-26 16:39:38
|
At 09:11 AM 4/26/01, Roland Stigge wrote: >"Kurt D. Zeilenga" wrote: >> >> At 08:31 AM 4/26/01, Graham Barr wrote: >> >On Thu, Apr 26, 2001 at 05:20:08PM +0200, Roland Stigge wrote: >> >> >> >> 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} ); >> > >> >type need to be an OID >> >> and no value. > >----- >$mesg = >$ldap->delete("ref=\"ldap://asser/c=us,o=epigenomics\",o=epigenomics", > control => {type => "2.16.16.840.1.113730.3.4.2"}); >----- >(perl-ldap 0.23) >produces: > >code: 10, message: Referral received > >It is the right OID, right? ;) Yes. See http://search.ietf.org/internet-drafts/draft-zeilenga-ldap-namedref-03.txt for details on Named Subordinate Referrals in LDAP. (OpenLDAP 2.0.7 implements an earlier draft, but it should be close enough in regards to this usage). I also suggest you use the OpenLDAP provided ldapdelete(1) with -MM to determine behavior of OpenLDAP. If you have issue with this behavior, start a thread on the OpenLDAP-software mailing list <http://www.openldap.org/lists/>. Kurt |