diff --git a/include/class_password-methods-kerberos.inc b/include/class_password-methods-kerberos.inc
index 2f3173bf30feb868a2121126f462ccb85db7916e..2023f6c84953403ef6328316607778b7b29febd4 100644 (file)
print_red (_("Kerberos database communication failed!"));
}
- $ret= kadm5_chpass_principal($handle, $this->attrs['uid'][0]."@".$cfg['REALM'],$wd);
+ $ret= kadm5_chpass_principal($handle, $this->attrs['uid'][0]."@".$cfg['REALM'],$pwd);
if ($ret === FALSE)
{