Changeset 787 in subversion
- Timestamp:
- Sep 9, 2007 1:58:13 PM (6 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (1 diff)
-
program/include/rcube_ldap.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r777 r787 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2007/09/09 (thomasb) 5 ---------- 6 - Applied patch for LDAP version (#1484552) 7 - Improved XHTML validation 8 3 9 4 10 2007/09/05 (thomasb) -
trunk/roundcubemail/config/main.inc.php.dist
r767 r787 200 200 * 'bind_dn' => '', 201 201 * 'bind_pass' => '', 202 * 'ldap_version' => 3, // using LDAPv3 202 203 * 'search_fields' => array('mail', 'cn'), // fields to search in 203 204 * 'name_field' => 'cn', // this field represents the contact's name -
trunk/roundcubemail/program/include/rcube_ldap.inc
r677 r787 87 87 $this->prop['hosts'] = array($this->prop['hosts']); 88 88 89 if (empty($this->prop['ldap_version'])) 90 $this->prop['ldap_version'] = 3; 91 89 92 foreach ($this->prop['hosts'] as $host) 90 93 { 91 94 if ($lc = @ldap_connect($host, $this->prop['port'])) 92 95 { 93 ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION, $this->prop[' port']);96 ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION, $this->prop['ldap_version']); 94 97 $this->prop['host'] = $host; 95 98 $this->conn = $lc;
Note: See TracChangeset
for help on using the changeset viewer.
