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
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