X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_password-methods.inc;h=97571da7900f3e6d51f3190319cc0ba9508d6e64;hb=41b3851a98576e3cd9b843a63353a9e669c4f501;hp=c0ffba2b673fa44bdf3889d204122204e05679cd;hpb=5d06565bc2e687bd934cab25ffbb23563b24e455;p=gosa.git diff --git a/include/class_password-methods.inc b/include/class_password-methods.inc index c0ffba2b6..97571da79 100644 --- a/include/class_password-methods.inc +++ b/include/class_password-methods.inc @@ -102,7 +102,7 @@ function change_password ($dn, $password, $mode=0, $hash= "") // read current password entry for $dn, to detect the encryption Method $ldap = $config->get_ldap_link(); - $ldap->cat ($dn); + $ldap->cat ($dn, array("shadowLastChange", "userPassword")); $attrs = $ldap->fetch (); // Set encryption type to clear if required