<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Activating kolab_auth in current master roundcube produce this
      error:</p>
    <p><span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">LDAP Error:
          Could not connect to any LDAP server, last tried localhost</span></span></p>
    <p><span style="color:#000000;background-color:#ffffff;">I found in
        the code:</span></p>
    <p><br>
      <span style="font-family:monospace"><span
style="font-weight:bold;color:#5454ff;background-color:#ffffff;"> </span></span></p>
    <p><span style="font-family:monospace"><span
style="font-weight:bold;color:#5454ff;background-color:#ffffff;"><br>
        </span></span></p>
    <p><span style="font-family:monospace"><span
style="font-weight:bold;color:#5454ff;background-color:#ffffff;">if
          (!is_resource($this->conn)) {</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#1818b2;background-color:#ffffff;">
                    </span><span
style="font-weight:bold;color:#5454ff;background-color:#ffffff;"> rcube::raise_error(array('code'
          => 100, 'type' => 'ldap',</span><br>
        <span style="color:#000000;background-color:#ffffff;">
        </span><br>
        (etc)</span></p>
    <p>But i can't find where conn is set. It looks like it is not set
      at all .  Since on the test server I don;t care so much I removed
      this test  and assumed this return true but probably is better to
      clarify what should be tested here.<br>
    </p>
  </body>
</html>