[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Passwordmodify ext.Op. question
Hi,
it seems that slapd generates a random password and modifies the
userPassword although a newpassword is presented. This few lines of
perl may show what I am talking about, based on this code slapd
generates a random password and modifies userPassword.
$msg = $ldap->set_password(
oldpassword=> '0J2zrRpD',
newpassword=> 'Mu321Ha'
);
die "Error: ",$msg->code(), ":",$msg->error() if ($msg->code());
print "Password modified to: ", $msg->gen_password() , "\n";
I know this code is buggy, but still, as newpassword is present, a
genpassword call should not be accepted or an error message should be
returned, but under no circumstances the password should be modified
with the random password.
Any thoughts?
-Dieter
--
Dieter KlÃnter | Systemberatung
http://www.dpunkt.de/buecher/2104.html
sip: +49.180.1555.7770535
GPG Key ID:8EF7B6C6
53Â08'09,95"N
10Â08'02,42"E