kolab_auth

Mihai Badici <[email protected]> Mon, 5 Feb 2024 11:24:31 +0200
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <b3cf879d-aca1-4e2b-bd30-c51eb722652e__42734.6432859608$1707125189$gmane$org@badici.ro>
This is a multi-part message in MIME format.
--===============4241459852807516049==
Content-Type: multipart/alternative;
 boundary="------------c7HEdKYCbMIgXAyplhypHspm"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------c7HEdKYCbMIgXAyplhypHspm
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Activating kolab_auth in current master roundcube produce this error:

LDAP Error: Could not connect to any LDAP server, last tried localhost

I found in the code:



if (!is_resource($this->conn)) {
  rcube::raise_error(array('code' => 100, 'type' => 'ldap',

(etc)

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.

--------------c7HEdKYCbMIgXAyplhypHspm
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!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-&gt;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'
          =&gt; 100, 'type' =&gt; '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>

--------------c7HEdKYCbMIgXAyplhypHspm--

--===============4241459852807516049==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
users mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/users

--===============4241459852807516049==--