Changeset 5467 in subversion


Ignore:
Timestamp:
Nov 23, 2011 3:38:42 AM (18 months ago)
Author:
alec
Message:
  • Save Samba password hashes in capital letters (#1488197)
Location:
trunk/plugins/password
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/password/drivers/ldap.php

    r5035 r5467  
    273273            if (function_exists('hash')) { 
    274274                $cryptedPassword = hash('md4', rcube_charset_convert($passwordClear, RCMAIL_CHARSET, 'UTF-16LE')); 
     275                $cryptedPassword = strtoupper($cryptedPassword); 
    275276            } else { 
    276277                                /* Your PHP install does not have the hash() function */ 
  • trunk/plugins/password/drivers/ldap_simple.php

    r4529 r5467  
    239239            if (function_exists('hash')) { 
    240240                $crypted_password = hash('md4', rcube_charset_convert($password_clear, RCMAIL_CHARSET, 'UTF-16LE')); 
     241                $crypted_password = strtoupper($crypted_password); 
    241242            } else { 
    242243                                /* Your PHP install does not have the hash() function */ 
  • trunk/plugins/password/package.xml

    r5448 r5467  
    1616                <active>yes</active> 
    1717        </lead> 
    18         <date>2011-10-06</date> 
     18        <date>2011-11-23</date> 
    1919        <version> 
    2020                <release>2.4</release> 
     
    2828        <notes> 
    2929- Added option to use punycode or unicode for domain names (#1488103) 
     30- Save Samba password hashes in capital letters (#1488197) 
    3031    </notes> 
    3132        <contents> 
Note: See TracChangeset for help on using the changeset viewer.