index c0ffba2b673fa44bdf3889d204122204e05679cd..97571da7900f3e6d51f3190319cc0ba9508d6e64 100644 (file)
// read current password entry for $dn, to detect the encryption Method
$ldap = $config->get_ldap_link();
// 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
$attrs = $ldap->fetch ();
// Set encryption type to clear if required