alecpl
2008-08-27 b77d0dd6c5574d9841cd5d040dfcc351a58ccb82
program/include/rcube_ldap.php
@@ -62,16 +62,6 @@
    $this->connect();
  }
  /**
   * PHP 4 object constructor
   *
   * @see  rcube_ldap::__construct()
   */
  function rcube_ldap($p)
  {
    $this->__construct($p);
  }
  /**
   * Establish a connection to the LDAP server
@@ -94,6 +84,10 @@
    {
      if ($lc = @ldap_connect($host, $this->prop['port']))
      {
   if ($this->prop['use_tls']===true)
     if (!ldap_start_tls($lc))
       continue;
        ldap_set_option($lc, LDAP_OPT_PROTOCOL_VERSION, $this->prop['ldap_version']);
        $this->prop['host'] = $host;
        $this->conn = $lc;