From: Graham B. <gb...@po...> - 2002-06-14 14:32:01
|
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 > Darryl C Price > Conversant Systems, LLC > Email: da...@co... > Phone: (513)768-3120 > Mobile: (513)225-8528 > Web: http://www.convsys.com > > ----- End forwarded message ----- |