Plugin Directory

Changeset 1076756


Ignore:
Timestamp:
01/27/2015 04:03:45 PM (11 years ago)
Author:
glatze
Message:

FIX for password decryption.

Location:
active-directory-integration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • active-directory-integration/trunk/ad-integration.php

    r1049389 r1076756  
    730730                      "- network timeout: ". $this->_network_timeout);
    731731
    732             // Check if the domain controllers are reachable
     732        // Check if the domain controllers are reachable
    733733        if ($this->_loglevel == ADI_LOG_DEBUG) {
    734734            // Let's check if AD is reachable
     
    32213221            $iv = md5('Active-Directory-Integration');
    32223222            $key = substr(AUTH_SALT,0, mcrypt_get_key_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_ECB));
    3223             $text = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $encrypted_text, MCRYPT_MODE_ECB, $iv);
     3223            $text = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $encrypted_text, MCRYPT_MODE_ECB, $iv), "\0");
    32243224        } else {
    32253225            $text = $encrypted_text;
  • active-directory-integration/trunk/readme.txt

    r1048947 r1076756  
    135135* UPD: Multisite Support updated. Centralized settings for all blogs. (Issue #0070. Thanks to William Earnhardt for his work.)
    136136* FIX: Fixed a problem with empty usernames. (Thanks to Johnathon Williams for the bug report.)
     137* FIX: Possible fix for an issue with password decryption. (Thanks to Jan Kutschke for the bug report.)
    137138
    138139= 1.1.5 =
Note: See TracChangeset for help on using the changeset viewer.