Red Hat Bugzilla – Bug 165594
When Autocompletion is checked for LDAP it does not work
Last modified: 2007-11-30 17:11:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
In my installation I am running.
This is a test server for a production SOE dekstop environment with real non technical end users running LTSP and FreeNX Terminal Services FC4
When you check the Edit Preferences
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start Evolution from the Launchmail icon on the Control Panel
2. Setup an LDAP address book (in my test case the user has write access to the LDAP store)
3. Goto Edit Preferences then Autocompletion and switch the checkbox on next to the addressbook you have created (you can leave personal checked or uncheck it --> same result either way
4. Click close to clear the dialog
5. in the main window click the New button to create a new email message
6. Start typing a name that you have verified is in your LDAP address book
(You can verify names are in your LDAP address book by clicking on Contacts and doing a search) --> you can also find them manually by clicking on the To button
Actual Results: The Name does not auto resolve
if you try this with the personal address book for the same card (ie drag and drop a card that didn't work from you ldap store into your personal address book, make sure Autocompletion is checked for Personal, you will find that autocompletion works when you start typing a few charachters for an address book card (any email address that is in a card)
Expected Results: Evolution should have started querying the LDAP server and tried to resolve the rest of the name real time autocompleting it I have noticed that Queries are rather slow hitting OpenLDAP (which is on the same machine as my evolution) ie Dell GX270 / P4HT 3.0GHZ 1MBL2Cache / 4GB RAM) So I left it for 20 seconds and it still didn't resolve.
I haven't been able to test this in the past cause we were waiting on resolution the problem Bug #165269 We now have a fix for this and this has allowed us to progress in our use of Evolution Groupware components.
*** Bug 165595 has been marked as a duplicate of this bug. ***
Thanks for this report.
FWIW, this appears to be working for me in rawhide: evolution-2.3.7-1
IIRC, Evolution's autocompletion code only kicks in after 3 or more characters
have been typed.
If you use Ethereal or a similar tool, is Evolution actually sending any LDAP
queries to the server when you try autocompleting?
Also, is Evolution in "online" mode? Code was added recently that tries to make
an offline cache of LDAP addressbooks; can't remember off the top of my head if
that made it into FC4's Evolution.
Unable to test with rawhide at the moment sorry :(
My version is FC4 uptodate Evolution 2.2.3
I have the following settings
Edit | Preferences | Autocompletion | Personal = Unchecked (Off)
Edit | Preferences | Autocompletion | on LDAP Servers | MyLDAPtest = CHECKED (on)
Under Contacts Right button Properties on MyLDAPtest General Tab
Name = MyLDAPtest
copy book content locally for offline operation = unchecked (off)
Mark as default folder = on (I have tested this with on and off both fail)
Server = localhost
Port = 389
user secure connection = Never
Login Method = using Email address
Login Matthew.firstname.lastname@example.org password is matt and saved
Search scope = Sub
Timeout 5 mins
Download limit 100 cards
Just to confirm problem, autocompletion is when you type directly into the To
Field in the Compose a message window
I can search teh LDAP database if I click on the To: button. That is all
Are you able to test at your end?
created upstream gnome bugzilla report
And have found that this problem stil occurs in 126.96.36.199 (rawhide version of
I don't seem to be getting the latest update in my rawhide, i'll check the yum.conf
Created attachment 117859 [details]
e-d-s started from putty console
Ran e-d-s from console as requested, started evolution, created a new mail
then started entering a name. As you can see LDAP database was queried however
no name resolutin ocurred int the To field of the email as I typed it.
From upstream bug report http://bugzilla.gnome.org/show_bug.cgi?id=313673#c2
This fix at 311684 is committed to cvs head.
And for me autocompletion works with LDAP backend.
Can you start evolution-data-server in a seperate
console and look for the debug messages printed there while
querying LDAP server?
Also, searching for a contact in LDAP book works for you?
------- Additional Comment #3 From Sushma Rai 2005-08-20 10:31 UTC -------
I'll commit the fix for 311684 for 2.2 stable branch also.
closing the bug. Please reopen if needed, with the details.
(the reference to 311684 in copy of comment in comment 7 is the upstream version
of our bug 165269; and isn't relevant anymore: it's the crasher that was fixed;
we're still at the debugging stage with this one, AFAIUI)
I doublechecked this, and autocompletion is working against LDAP with rawhide
evolution/e-d-s (2.3.8/1.3.8). I had to be careful to turn it off for the local
addressbook, since the bbdb plugin tends to populate your local addressbook with
stuff from the LDAP store
This is confirmed working. I have since got it working, the final problem was a
configuration issue with my LDAP.
Thanks for the update.