Re: [Kolab-devel] Roundcube on Debian 12 - LDAP?
Jochen Kellner <[email protected]> Sun, 27 Oct 2024 12:13:27 +0100
| Newsgroups | gmane.comp.kde.devel.kolab |
|---|---|
| Message-ID | <[email protected]> |
Hello Aleksander, Aleksander Machniak <[email protected]> writes: > 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 Thanks a lot. I've applied the fix locally and could login. Jochen -- This space is intentionally left blank.