Version: (using KDE KDE 3.5.7) Installed from: Unlisted Binary Package OS: Linux since i´ve updated to KDE 3.5.7 from 3.5.6 (http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.1/), the completition of an eMail-address in the to:/cc:/bcc. field does not work with existing addressbook-resources and recent addresses. Only queries to the LDAP-Server (if) defined in kaddressbook will give me a result. Has it to do with this? (found in http://www.kde.org/announcements/changelogs/3_5_7/kdepim.txt) 2007-03-28 20:16 +0000 [r647591] schaarsc * branches/KDE/3.5/kdepim/libkdepim/addresseelineedit.cpp, branches/KDE/3.5/kdepim/libkdepim/ldapclient.cpp: - fix broken ldapSearch - lookup domain in ldapSearch (kmailcompletion already does) - do not load all contacts from ldapkio, use ldapSearch instead - do not reload local contacts with each ldapSearch (implies contact caching) This bug isn´t common to the existing (resolved) bug # 86292 For a workaround i´ve downgraded kdepim to version 3.5.6 regards Andre Mathibe
*** Bug 146249 has been marked as a duplicate of this bug. ***
Adjusting summary.
I cannot reproduce this bug on my machine. could you provide me with your ~/.kde/share/config/kresources/contact/stdrc to give me an idea of your configuration. (replace ldap user/host and other confidential info with ####)
Created attachment 20790 [details] my ~/.kde/share/config/kresources/contact/stdrc This for the case where there is no completion from ldap, but completion from a local resource works. The second ldap resource (localhost) is actually a connection through stunnel4 to a remote ldaps-server.
please check kaddressbook configuration add your server to the LDAP search function
Do you mean "LDAP lookup" in the kaddressbook configuration? I don't see why that would be necessary. That would mean I have to duplicate the configuration for my ldap resources, since the ldap servers are already configured as a resource. In kde 3.5.6, it works without adding the ldap servers to the LDAP lookup configuration in kaddressbook. I have also compared the output of: $ grep -ri addressbook ~/.kde/share/config on a machine with KDE 3.5.6 and one with KDE 3.5.7. There is no significant difference. Are there any other things I could compare between these two machines?
LDAP lookup is necessary for the asynchronous LDAP search, if you don't want to browse/edit the directory you don't need to configure a resource. kmail 3.5.6 did download all LDAP contacts for each mail which is not desirable because of performance issues and unnecessary network traffic. patch r647591 did activate ldapSearch, see Bug 110867. The original report complains about recent-address not working. Can you provide more information to reproduce that issue? Otherwise I would tend to close this bug.
Christian, Thanks for the clarification. One of the ldap servers I use is actually read-only, so I removed it as a resource and added it in LDAP Lookup. Autocompletion does work again now for this server. The other LDAP server is my personal addressbook that I have placed in LDAP to be able to use it from several instances of kmail. It is read/write... If I want autocompletion to work for that, I guess I'll have to duplicate my configuration? It would be nice if there was a possibility to link to the existing resource configuration from the LDAP lookup configuration. Or alternatively, auto completion from an LDAP resource should also use ldapSearch. (Should this be filed as a new bug?) With respect to the other problem: I have never encountered that. I filed a separate bug for my problem, but it was merged later on.
sorry, but for your local LDAP you'll have to duplicate the config. we are concentrating manpower on KDE4, there will be no fix for this issue in 3.5. KDE4 will come with a new backend (akonadi) for pim-applications. with the new infrastructure this should not be necessary anymore.
Similar to bug 146249 - which was marked as a duplicate - kdepim-enterprise, which contains the patch from [r647591] schaarsc under revision 668105, has broken address completion from LDAP resource. It does not make sense that ANY resource defined be excluded from address completion. If there are performance issues, then address those - don't break kmail. I backed out this patch and rebuilt and now LDAP completion is working as it should. This is definitely a bug and should be re-opened. BJ.
*** Bug 160599 has been marked as a duplicate of this bug. ***
I cannot see the logic in not fixing this bug. Yes KDE4 is priority for the devel team but although the developers must have full confidence in their software (KDE4), it is not wise for a large corporate environment to upgrade a stable KDE environment from 3.5.8 to 4.x without proper testing and implementation that will take time. KDE 3.5.8 is near perfect except for this extremely frustrating bug in KMail which should be fixed as it burden's productivity. Now i am forced to downgrade to a working 3.5.6 which also makes no sense, but that is how crucial the email auto-completion is to a large corporate these days. On a side note i take my hat off to the KDE Developers for KDE, fantastic Opensource software.
re-open. we are expecting a patch soon
SVN commit 800071 by ervin: Don't filter out ldapkio resources for the auto-completion. That should fix 146247, at least now that works for me. Please test and close if appropriate. CCBUG: 146247 M +2 -3 addresseelineedit.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=800071
Any news on this ? Should the report be closed ?
(In reply to comment #15) > Any news on this ? Should the report be closed ? AFAIK only the enterprise branch is fixed. Not every Linux distribution uses it. IMHO the fix should go into main code tree also.
it went also into the main trunk: http://websvn.kde.org/?view=rev&revision=800132