Question for ye about a user changing their password in NDS (using LDAP
of course). The following ldif run with ldapmodify -h ldap.svr -D
"cn=fdtest,ou=staff,o=org" -w oldpass -f chpass.ldif lets the user
fdtest change their password.
I'm trying in vain to get perl-ldap to do the same, can anyone tell me
where I'm going wrong? This is what I've got at the moment (after a
successful bind) and I get an LDAP error 53 (Server unwilling to
perform), which I assume is to do with perl-ldap not sending the same
request as ldapmodify.
$result = $ldap->modify($dn,
changes => [
delete => [ userPassword => "$oldpass" ],
replace => [ userPassword => "$newpass" ]
Anyone any ideas?