Bug 318081

Summary: Kontact doesn't seem to return anything via ldap autocomplete for mail addresses
Product: [Applications] kontact Reporter: Joar Jegleim <joar.jegleim>
Component: contactsAssignee: Tobias Koenig <tokoe>
Status: RESOLVED FIXED    
Severity: normal CC: joar.jegleim, kdepim-bugs, winter
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.3
Attachments: copy of the 'howto davmail exchange' setup instructions from mentioned link in bug report.

Description Joar Jegleim 2013-04-09 09:44:36 UTC
I've been using davmail + kontact to connect to our exchange owa setup. 
Davmail enables imap/pop3, smtp, caldav and ldap support against an exchange owa setup.
The ldap lookup part has worked flawlessly in my Kubuntu 12.10 with kde 4.9, 4.9.98, 4.10 and 4.10.1 ( other minor bugs in 4.9 has been solved in later versions, such as caldav write both ways) .
After upgrading to 4.10.2 ldap lookup seem to have stopped.
I've used directions from http://forum.kde.org/viewtopic.php?f=20&t=6553&start=15 when setting this up. 
It's the part regarding ldap that doesn't work in my setup currently:
[...]
kontact => settings => Configure Kontact => Contacts => LDAP Server Settings => Add Host
Host: localhost
DN: ou=people
Authentication: Simple
Port: 1389
Bind DN: DOMAIN\username
Password: ThePassword
Click OK
Tick localhost
kontact => Mail => settings => Configure KMail => Composer => Configure completion order => and set LDAP to first
[...]

I've used a local ldap client and done lookups through davmail manually, so that part seem to work ok, I'm pretty sure this must be a bug in Kontact or any related package

Reproducible: Always

Steps to Reproduce:
1. You need access to some exchange owa account ( I've got that, and can test anything anybody suggests)
2. install davmail and point it to your exchange owa login ( see http://forum.kde.org/viewtopic.php?f=20&t=6553&start=15 for directions)
2. Setup ldap lookup in kontact
kontact => settings => Configure Kontact => Contacts => LDAP Server Settings => Add Host
Host: localhost
DN: ou=people
Authentication: Simple
Port: 1389
Bind DN: DOMAIN\username
Password: ThePassword
Click OK
Tick localhost
kontact => Mail => settings => Configure KMail => Composer => Configure completion order => and set LDAP to first
3. create a new mail, type in a couple of letters for an address you know should be in the exchange GAL .
Actual Results:  
nothing happens

Expected Results:  
kontact should suggest any email address starting with the letters you've typed
Comment 1 Joar Jegleim 2013-04-09 09:47:42 UTC
Created attachment 78749 [details]
copy of the 'howto davmail exchange' setup instructions from mentioned link in bug report.
Comment 2 Joar Jegleim 2013-04-09 09:59:57 UTC
I just setup ldap lookup for thunderbird (via my davmail setup) as instructed via http://davmail.sourceforge.net/thunderbirddirectorysetup.html , and ldap works ok in thunderbird. I'd say the problem is isolated to some kde component then.
Comment 3 Allen Winter 2013-04-09 20:09:14 UTC
I believe this was fixed yesterday by dfaure.

commits:
a24942ac27c27a4a540148292a9e6fbee1c8fff7
6a06c57f52a00018d607085efa7570deb91dc707