Changeset cd67494 in github


Ignore:
Timestamp:
Jun 6, 2008 5:38:30 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
70a0566
Parents:
cfe4a6b
Message:
  • TLS support in LDAP connections: 'use_tls' property (#1485104)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r0770703 rcd67494  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42008/06/06 (alec) 
     5---------- 
     6- TLS support in LDAP connections: 'use_tls' property (#1485104) 
    37 
    482008/06/05 (alec) 
  • config/main.inc.php.dist

    rc0e3583 rcd67494  
    248248 *  'hosts'         => array('directory.verisign.com'), 
    249249 *  'port'          => 389, 
     250 *  'use_tls'       => false, 
    250251 *  'user_specific' => false,   // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login. 
    251252 *  // %fu - The full username provided, assumes the username is an email 
  • program/include/rcube_ldap.php

    r4f9c833 rcd67494  
    9595      if ($lc = @ldap_connect($host, $this->prop['port'])) 
    9696      { 
     97        if ($this->prop['use_tls']===true || strtoupper($this->prop['use_tls'])==='TRUE') 
     98          if (!ldap_start_tls($lc)) 
     99            continue; 
     100 
    97101        ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION, $this->prop['ldap_version']); 
    98102        $this->prop['host'] = $host; 
Note: See TracChangeset for help on using the changeset viewer.