Aleksander Machniak
2013-01-18 61be822d62ea245b7f54ad313f49a956ab49076d
plugins/password/drivers/ldap_simple.php
@@ -240,7 +240,7 @@
            break;
        case 'samba':
            if (function_exists('hash')) {
                $crypted_password = hash('md4', rcube_charset_convert($password_clear, RCMAIL_CHARSET, 'UTF-16LE'));
                $crypted_password = hash('md4', rcube_charset::convert($password_clear, RCUBE_CHARSET, 'UTF-16LE'));
                $crypted_password = strtoupper($crypted_password);
            } else {
                /* Your PHP install does not have the hash() function */