]> git.donarmstrong.com Git - roundcube.git/blobdiff - plugins/password/drivers/ldap.php
Imported Upstream version 0.7
[roundcube.git] / plugins / password / drivers / ldap.php
index 3ea30a69c6b1eea5e24e67c10330eb4dff979caf..e6450e5e12fc6378eb3a461a83ae14404d819f26 100644 (file)
@@ -272,6 +272,7 @@ function hashPassword( $passwordClear, $encodageType )
         case 'samba':
             if (function_exists('hash')) {
                 $cryptedPassword = hash('md4', rcube_charset_convert($passwordClear, RCMAIL_CHARSET, 'UTF-16LE'));
+                $cryptedPassword = strtoupper($cryptedPassword);
             } else {
                                /* Your PHP install does not have the hash() function */
                                return false;