On 25/8/05 3:17, Gavin Henry <[EMAIL PROTECTED]> wrote:
> Dear List,
>
> I would like to bind as the rootdn and change other users password, but
> obviously Net::LDAP::Extension::SetPassword is only used to change the
> current bound user pass.
>
> Any other way to bind as rootdn and set/reset someone else's password like
> with ldappasswd?
You should just be able to pass
user => "cn=Some Poor Schmuck,dc=example,dc=com"
into the call to set_password().. Though the docs hint this value might be a
SASL id instead. I guess whatever works with ldappasswd will work here?
Cheers,
Chris