X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=plugins%2Fpassword%2Fdrivers%2Fldap_simple.php;h=2f51b754791da7f8224e7796fb9d454d149eeb5b;hb=76507f7c63a660742e76889ad6e3919f3dde3bb0;hp=482b7e56fc4ea27a5e5582b153c578344d0d1ba6;hpb=07e1de2dcd3f3ff8910a3680493f035b3c693cf0;p=roundcube.git diff --git a/plugins/password/drivers/ldap_simple.php b/plugins/password/drivers/ldap_simple.php index 482b7e5..2f51b75 100644 --- a/plugins/password/drivers/ldap_simple.php +++ b/plugins/password/drivers/ldap_simple.php @@ -238,6 +238,7 @@ function ldap_simple_hash_password($password_clear, $encodage_type) case 'samba': if (function_exists('hash')) { $crypted_password = hash('md4', rcube_charset_convert($password_clear, RCMAIL_CHARSET, 'UTF-16LE')); + $crypted_password = strtoupper($crypted_password); } else { /* Your PHP install does not have the hash() function */ return false;