-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi,
On Mon, 11 May 2015 23:56:09 +0200 Vincent Bernat <ber...@debian.org> wrote: > ⦠11 mai 2015 23:52 +0200, Vincent Bernat <ber...@debian.org> : > > >> Trying to setup LDAP address books in version 1.1.1 I now get > >> > >> PHP Fatal error: Class 'Net_LDAP3' not found in > >> /usr/share/roundcube/program/lib/Roundcube/rcube_ldap_generic.php on > >> line 31 > >> > >> A quick web search reveals that LDAP functions where moved out of the > >> main roundcube libraries and are now in vendors/kolad dir and need to > >> be installed for LDAP to work. Can we please add this to the package? > > > > Unfortunately, this needs to be packaged separately. I don't find it on > > PEAR. It seems to be available through composer but I don't know if > > that's easy to package. For some reason, just finding a tarball seems to > > be difficult. > > composer.json-dist says: > > "suggest": { > "pear-pear.php.net/net_ldap2": ">=2.0.12 required for connecting to > LDAP address books", > "kolab/Net_LDAP3": "dev-master required for connecting to LDAP > address books" > }, > > It would seem odd to requires two versions of the same library. Maybe > only one of them is required. Could you try to install php-net-ldap2 and > see if it solves the problem? Installing php-net-ldap2 doesn't seem to solve the problem. It seems fedora has the package, and installing an alien version of the RPM removed the error, and the address book worked. Here's the link to the RPM spec: https://apps.fedoraproject.org/packages/php-kolab-net-ldap3/sources/spec Here's the link to the RPM package: http://mirrors.kernel.org/fedora-epel/7/x86_64/p/php-kolab-net-ldap3-1.0.3-1.el7.noarch.rpm Apparently, the source code is behind a login on a Phabricator installation (based on the RPM spec): URL: http://git.kolab.org/pear/Net_LDAP3/ Source0: http://git.kolab.org/pear/Net_LDAP3/snapshot/pear-Net-LDAP3-%{version}.tar.gz The LDAP address book is working, although I did not manage to make autocomplete work, so more investigation is required. Kind regards, - -- Felipe Augusto van de Wiel (faw) <f...@debian.org> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJVV8/YAAoJEMa4WYSFUi4tOngQAKK+0pQ1m6tjtH/xp7BR2xWO 1ZeeX3ugQsXvibgn+IyACLdHZNHEHq0bTn/YXuUYL7a8i953Enek1wMZmVLPT2PC 72T2qSHGHrRVklawlm5/10E9MLXn+QZN2rLuDYB5Jj6MJMeSphzru7ElW50rRnh7 WaqAb/wBIIkkOJgG6OY9EWVuCdIp60gHgFCcV403PRdfry9xMzfWDEI36aiIiX+v 3UiZ06WXulvhaHCtszaDOVrK3h7D6ad4KlZOlBH2hJPYyDOYdB5LYLn/ROAuRSNe aJakK7Qmd1nvsX82e/52xyGDwVT9/rYnNPkieFjUzuYHfzSlCEb/G6CpTR/YkbbJ WU6SNNgMAyg90FDEA6hp4cH3yLrGUfJKr7PZ5w0UIqoc+HLdCIpJ8dJLi4yT2t1G ldtkbx7c+jHBTAvvBvpNinbsAk6W2ys7BNF5S1bxRrF+lAUEP8oIIwju6MkDngG/ onASsSNFeLeXWThuhqBbWMB46LIckEzxwhdvdza3Z77tS9mpLXNTaaIH1YnqCJrK y84/BGmNvBFDOvzLkVEO98Izb0hROE6K9bst2QLHbLjB6w176ArXA7tBdKOkxJTt /KHRpJKIjLovqlDOPdebOUxcnVFrfUXzCk+KkWG9QobYCri5A2dnptABpMA7gdwH QVXKz9LAMg/gnZf4Az+M =X+8v -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org