From: Darryl C P. <da...@co...> - 2002-06-14 15:19:47
|
Does anyone have a practical example of how this is ued? ---- Original message ---- >Date: Fri, 14 Jun 2002 15:28:34 +0100 >From: Graham Barr <gb...@po...> >Subject: Re: [Fwd] Documentation for Net::LDAP::Extension >To: LDAP Mailing List <per...@li...>, Darryl C Price <da...@co...> > >Currently Net::LDAP only gives a skeleton access to the extended operation. > >You must encode the value yourself and pass in with > > $mesg = $ldap->extension( name => $oid, value => $value); > >Then you can call > > $mesg->response_name > $mesg->response > >to get the names and value of the response. > >The intent is that as "standard" extensions get defined we would define >classes for them so that you could do > > $mesg = $ldap->extension( type => 'set-password', ... args for set password ); > >And the class of the object returned will be a sub-class of Net::LDAP::Extension >with methods that are of use to 'set-password'. We could even go as far as > > use Net::LDAP::Extension qw(set_password); > > $mesg = $ldap->set_password( ... ); > >Graham. > >On Fri, Jun 14, 2002 at 03:17:27PM +0100, Graham Barr wrote: >> ----- Forwarded message from Darryl C Price <da...@co...> ----- >> >> Date: Fri, 14 Jun 2002 10:13:12 -0400 >> To: gb...@po... >> From: Darryl C Price <da...@co...> >> Subject: Documentation for Net::LDAP::Extension >> >> Hello Graham, >> >> I am trying to figure out how to use the set-password ldapv3 extension but >> can't find the documentation for Net::LDAP::Extension or any examples. Your >> help would be greatly appreciated. >> Darryl C Price Conversant Systems, LLC Email: da...@co... Phone: (513)768-3120 Mobile: (513)225-8528 Web: http://www.convsys.com |