KMail: e-mail autocompletion from LDAP source doesn't work

Bug #126330 reported by Matej Kenda
18
Affects Status Importance Assigned to Milestone
kdepim (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Gutsy by Henrik Nilsen Omma

Bug Description

Binary package hint: kdepim

I use Kontact on Kubuntu Feisty Fawn (7.04).

Cached LDAP (Active Directory) address book was added to kaddressbook and included in the autocompletion list. Autocompletion works fine with the default version of the KDE (3.5.6).

I decided to upgrade to KDE 3.5.7 (http://kubuntu.org/announcements/kde-357.php).

Autocompletion when composing e-mail doesn't work any more. I am able to select e-mail addresses by using the "Select.." button, though.

I have tried to move the LDAP address book up and down the list, but it doesn't help.

Matej Kenda (matejken)
description: updated
Revision history for this message
Luka Renko (lure) wrote :

I can confirm this on my Feisty (LDAP to MS AD)

Changed in kdepim:
status: New → Confirmed
Revision history for this message
Matej Kenda (matejken) wrote :

The issue still persists in Kubuntu Gutsy (KMail 1.9.6 enterprise, using KDE 3.5.8).

Revision history for this message
Alan Hodgson (ahodgson) wrote :

After upgrading to Gutsy, I had this problem. I fixed it by manually removing the old LDAP server reference from ~/.kde/share/config/kresources/contact/stdrc and then setting up an LDAP server the new way for 3.5.8. After doing this autocomplete started working again from the LDAP source.

Revision history for this message
Matej Kenda (matejken) wrote :

Thanks for your comment.

I have tried this procedure with LDAP and LDAPS, but doesn't work for me.

What do you mean by "setting up an LDAP server the new way for 3.5.8"? Didn't you use kaddressbook, integrated into kontact?

Revision history for this message
Trax (forum-traxbyte) wrote :

I experience same problems after upgrading to Gutsy (see #155419).

Changed in kdepim:
importance: Undecided → Medium
Revision history for this message
jstammi (johannes-stamminger) wrote :

I had it working in feisty with the LDAP being a separate address book:
Contacts -> Settings -> Show Extension -> Address Books
=> this opens a list of address books to the left
I added a ldap address book there and this was included for completion purposes on writing an email

Note: I did not have ldap configured in Contacts -> Settings -> Configure Address Book -> LDAP Lookup

But now after upgrade to gutsy the ldap address book no longer is regarded (though I have there more additional ones that are still working/used on completion).

Revision history for this message
Vide (vide80) wrote :

I can confirm this bug, I'm using KMail 1.9.9 Enterprise branch in Kubuntu Gutsy and the bug is present at least from Feisty... previously it worked rather well, so it seems a regression.

This https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/126330/comments/3 workaround didn't fix the problem

Revision history for this message
Paco Orozco (pakusland) wrote :

I can confirm this bug, I'm using Kubuntu 8.04 Hardy.

ii kdepim-kio-plugins 4:3.5.9-0ubuntu3 KDE pim I/O Slaves
ii kdepim-kresources 4:3.5.9-0ubuntu3 KDE pim resource plugins
ii libkdepim1a 4:3.5.9-0ubuntu3 KDE PIM library
ii kontact 4:3.5.9-0ubuntu3 KDE pim application

It was working good on Gutsy, without any problem. It seems, as mentioned above, a regresion.

The previous workaround didn't solve the bug. Know I can't use auto completion via LDAP.

Anyone has another workaround?

Revision history for this message
Paco Orozco (pakusland) wrote :

Hiya,

Yesterday I did a upgrade in my Hardy box, and now autocompletion from LDAP is working fine. I don't remember which packages were upgraded.

Anyone can confirm this behavour?

Revision history for this message
jstammi (johannes-stamminger) wrote :

I can confirm an improvement but not it being fixed:

1) The LDAP lookup in completion when having defined one in Contacts -> Settings -> Configure Address Book -> LDAP Lookup seems to work buggy only:

a) one need to restart kontact at least on enabling/disabling to make this change having an effect

b) not all addresses are found on completion though using the Tools -> Lookup Addresses in LDAP Directory does. I observed this already since a long time but always thought of being a problem in my LDAP settings. But with the search dialog finding now those addresses I miss in the completion and the search using the same connection settings as the completion, I'm now quite sure it is a problem in Kontact.

c) Sometimes when enabling/disabling the LDAP connection specified in Tools -> Lookup Addresses in LDAP Directory the list of address books is no longer drawn, the area becomes grey (having enabled address books listing in Settings -> Show Extension -> Address Books

2) The LDAP lookup in completion when having specified a LDAP addressbook only as shown with enabling Settings -> Show Extension -> Address Books (for reproducing this please note 1a!!!) still does not work at all. Though all (including those I miss in 1b) contacts are shown when selecting that addressbook.

Feel free to contact me if things are not clear of what I wrote above or you need more details on setup/outputs/...

Revision history for this message
jstammi (johannes-stamminger) wrote :

I forgot to mention: using Kontact 1.2.9

Revision history for this message
Trax (forum-traxbyte) wrote :

After upgrading from gutsy, the problem is still there on Hardy.

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

Is anyone still experiencing this bug in Kubuntu 8.10 or in KDE4 on hardy?

Revision history for this message
Vide (vide80) wrote :

I can confirm that it works with Kubuntu 8.10 Intrepid (KDE 4.1)

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Reported fixed. Thanks for testing.

Changed in kdepim:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.