]> git.donarmstrong.com Git - roundcube.git/blobdiff - plugins/password/drivers/ldap_simple.php
Imported Upstream version 0.7
[roundcube.git] / plugins / password / drivers / ldap_simple.php
index 482b7e56fc4ea27a5e5582b153c578344d0d1ba6..2f51b754791da7f8224e7796fb9d454d149eeb5b 100644 (file)
@@ -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;