alecpl
2008-06-13 712b30dd2de49763f68ee6c8f7b8b24bdadb19d9
program/include/rcube_ldap.php
@@ -94,6 +94,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;