Maui Forums
[Solved] - KAddessBook LDAP support missing - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: [Solved] - KAddessBook LDAP support missing (/showthread.php?tid=23934)



[Solved] - KAddessBook LDAP support missing - rocky7x - 30th August 2016

Hi All,

Seems that there is something wrong with LDAP support in KAddressBook. When I go into Settings -> Configure KAddressBook -> LDAP Server Settings there is a message "The shared library was not found" and there is no possibility to configure LDAP. What's wrong?

Cheers...


RE: KAddessBook LDAP support missing - leszek - 30th August 2016

Seems to be a missing package maybe. Can you search with apt or synaptic for the ldap support. Maybe there is a package that will bring you ldap support


RE: KAddessBook LDAP support missing - rocky7x - 31st August 2016

(30th August 2016, 22:28)leszek Wrote: Seems to be a missing package maybe. Can you search with apt or synaptic for the ldap support. Maybe there is a package that will bring you ldap support

I already tried, there is a package libkf5ldap5, but I have it installed. I haven't managed to find any other relevant package. So there seems to be a different problem with the thing.


RE: KAddessBook LDAP support missing - rocky7x - 1st September 2016

Is there some way how I can find which library is missing? Some log file or similar..


RE: KAddessBook LDAP support missing - leszek - 1st September 2016

Maybe you find anything in ~/.xsession-errors if not try starting it from the terminal and see if there is any output


RE: KAddessBook LDAP support missing - dbyentzen - 2nd September 2016

(30th August 2016, 13:25)rocky7x Wrote: Hi All,

Seems that there is something wrong with LDAP support in KAddressBook. When I go into Settings -> Configure KAddressBook -> LDAP Server Settings there is a message "The shared library was not found" and there is no possibility to configure LDAP. What's wrong?

Cheers...

While it is possible to use LDAP for the addressbook I've found it buggy and unreliable in the past. If possible, you might want to try using CardDav as it works quite well.
If you are using KMail & want it to point to KAddressBook don't for get to: KMail settings>Configure Kmail>Composer>Add Automatically Contacts

See these example instructions for KAddressBook using CardDAV here: https://karp.id.au/a/2015/11/29/fastmaildav-on-kde-akonadi/


RE: KAddessBook LDAP support missing - rocky7x - 2nd September 2016

Hi,

Well using CardDAV is not really an option, since I want to get the Exchange GAL through Davmail. And Davmail shows GAL only through LDAP. But I have used this in the past and it worked flawlessly, so it was a good solution for me. Anyway, I've found where the problem is: package kaddressbook should have a library kcm_ldap.so, but it doesn't have it in version distributed by Maui (16.08). However, for example in Xenial version (15.12) I can see it is there. So I would say maybe a packaging error? Can this be somehow fixed?

Cheers..

EDIT: I found that in other distributions this library has been moved to package libkdepim (or something similar like kf5-libkdepim etc.) so probably this is the reason why it was removed from package kaddressbook. The question however remains: where is it? :-)

EDIT2: OK I managed to get it working by taking the package kaddressbook version 15.12 from the Xenial repository, unpacking it with dpkg -x and manually copying the file kcm_ldap.so to /usr/lib/x86_64-linux-gnu/qt5/plugins. Now LDAP works. But the library should be packaged properly.