[Kolab-devel] Roundcube on Debian 12 - LDAP?

Aleksander Machniak machniak at apheleia-it.ch
Sun Oct 27 07:40:27 UTC 2024


On 27.10.2024 07:23, Jochen Kellner wrote:
> LDAP Error: Could not connect to any LDAP server in
> /usr/share/roundcubemail/plugins/libkolab/lib/kolab_ldap.php on line 227
> (POST /roundcubemail/?_task=login&_action=login)
> 
> The code is this:
> 
>        if (!is_resource($this->conn)) {
>              rcube::raise_error(['code' => 100, 'type' => 'ldap',
>                  'file' => __FILE__, 'line' => __LINE__,
>                  'message' => "Could not connect to any LDAP server"], true);
> 
> I've looked at the code for some time and didn's see where $this->conn
> is set.  If I remove that code and just accept the first (only) LDAP
> se
In PHP 8.1 LDAP connection has been changed from a reasource to an 
object. This condition is not correct any more.

I just fixed this in 
https://git.kolab.org/rRPK8a7b4e249743334710ba153d926859eef93cd225

-- 
Aleksander Machniak
Senior Software Engineer
Apheleia IT AG
PGP: 19359DC1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.kolab.org/pipermail/devel/attachments/20241027/dfa8b93b/attachment.sig>


More information about the devel mailing list