[Kolab-devel] Roundcube on Debian 12 - LDAP?
Jochen Kellner <[email protected]> Sun, 27 Oct 2024 07:23:46 +0100
| Newsgroups | gmane.comp.kde.devel.kolab |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I've upgraded to Debian12 and have problems logging into roundcube.
I've enabled ldap-Trace in roundcube and see that there is a successful
bind. But in the roundcube log:
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
server as working I can log in and roundcube seems to work.
The code at that part didn't change recently...
What do I miss? I'm also slightly confused which php-ldap modules are
really neede in the os and what is right now vendored.
Jochen
--
This space is intentionally left blank.