GNOME Bugzilla – Bug 271958
Evo ignoring "search base" on LDAP address book
Last modified: 2006-02-23 11:05:58 UTC
Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: I am trying to connect to an LDAP address book provided by our email provider. I can log in OK, but I get no addresses. I monitored the network traffic with Ethereal and found that Evo was attempting to search with the "search base" set to NULL. In the preferences, the search base is clearly set for this address book, but nothing I do seems to make it want to use it. Note that the LDAP browser "lbe" has no problem with this site. Steps to reproduce the problem: 1. Create an address book against an LDAP server with a search base 2. Open address book 3. Actual Results: No addresses found. Search was attempted against "NULL" base, instead of the provided one. Expected Results: Expected to get about 30 addresses. How often does this happen? Always. Additional Information:
i am sure evo uses ldap search base (looked at code and verified with tests) what could have happend is initially you did not enter anything in search base loadded ldap book and then changed the search base. Unfortunately the changes done to ldap config does not take immediate effect see bug 273290 . please do evolution --force-shutdown and try later
assuming this because what i have written above marjking the dependecny
Created attachment 45039 [details] Network trace of Evo
Well, I tried a number of things. I tried kill Evo with "--force-shutdown". It did not help. I tried deleting the existing LDAP addressbook and recreating it. No good. I am sniffing the network with Ethereal and it just does not want to use the BaseDN in the search query. I am attaching a couple of network dumps (in text form) from Ethereal. "evo_ldap.txt" is what Evo does. "lbe_ldap.txt" is what the LDAP browser "lbe" does. Hope this helps.
Created attachment 45040 [details] Network trace of lbe LDAP browser
Looking at the code this should work. well, can you use "Find possible search base' button and see if the search bases get listed for you? try to kill evolution-data-server and evolution processes and restart evolution and see if it works. also it's better if you try this with newer version of Evolution.
Well, I can't test the original bug, because we no longer use that provider. We now have a Windows Active Directory server (oh well), but that is not working either. I have attached an Ethereal trace of the network traffic. For some reason, it keeps trying to log in with DN=null, even though it does log in with my account once. Again, I have no trouble with using LBE.
Created attachment 51262 [details] Ethereal trace Note: I manually munge this file to hide my password and our machine name, so many of the packet checksums will be wrong.
reopening
from the dump i see that ldap bind is failing for you. are you sure the bind DN and password are correct? can you start evolution and e-d-s from the console and paste the related log messages here?
Moving to NEEDINFO as per the last comment.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!