alecpl
2011-11-24 3ad2b1b4b0ac0fc7a6c7a5adaad9a0616b890daf
plugins/password/drivers/ldap.php
@@ -272,6 +272,7 @@
        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;