Changeset 69cb80b in github


Ignore:
Timestamp:
Nov 5, 2011 7:42:47 AM (19 months ago)
Author:
thomascube <thomas@…>
Branches:
release-0.7
Children:
51f7a5b
Parents:
2573a87
Message:

Backported r5392 to release branch

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • config/main.inc.php.dist

    rc041d57 r69cb80b  
    587587  'sizelimit'     => '0',     // Enables you to limit the count of entries fetched. Setting this to 0 means no limit. 
    588588  'timelimit'     => '0',     // Sets the number of seconds how long is spend on the search. Setting this to 0 means no limit. 
     589  'referrals'     => true|false,  // Sets the LDAP_OPT_REFERRALS option. Mostly used in multi-domain Active Directory setups 
    589590 
    590591  // definition for contact groups (uncomment if no groups are supported) 
  • program/include/rcube_ldap.php

    r2573a87 r69cb80b  
    182182                $this->prop['host'] = $host; 
    183183                $this->conn = $lc; 
     184 
     185                if (isset($this->prop['referrals'])) 
     186                    ldap_set_option($lc, LDAP_OPT_REFERRALS, $this->prop['referrals']); 
    184187                break; 
    185188            } 
Note: See TracChangeset for help on using the changeset viewer.