[Pkg-roundcube-maintainers] Bug#785056: roundcube-core: Missing Net_LDAP3 from the vendor/kolab dir which is required for ldap support

Vincent Bernat bernat at debian.org
Mon May 11 21:56:09 UTC 2015


 ❦ 11 mai 2015 23:52 +0200, Vincent Bernat <bernat at 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?
-- 
What I tell you three times is true.
		-- Lewis Carroll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20150511/f7851ca1/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list