[Date Prev][Date Next]
Passwordmodify ext.Op. question
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(
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.
Dieter KlÃnter | Systemberatung
GPG Key ID:8EF7B6C6