GNOME Bugzilla – Bug 668834
evolution(-exchange) is trying to contact a ldap server
Last modified: 2012-04-25 19:00:29 UTC
when starting evolution from the shell (on ubuntu 12.04), its trying to contact a ldap server ** WARNING **: LDAP authentication failed (0xffffffff (Can't contact LDAP server)) i never put ldap-settings inside evolution. I am using evolution-exchange, so i dont know if that bug is related to evolution or evolution-exchange. also see https://bugs.launchpad.net/ubuntu/+source/evolution-exchange/+bug/922573
In the "Contacts" view, is there an LDAP addressbook ("On LDAP Servers") defined?
hi André, i dont see any ldap-settings there http://alpha-unix.de/~iceroot/ubuntu/no-ldap-on-evolution.png the addressbooks there are all coming from my exchange-account. If i am correct evolution was reading them automaticly. I am 100% sure we are not using LDAP, because we only have Active Directory but the calenders should be even not stored in AD but in the mail-queue directly.
You are in the Preferences, while I was refering to the address book/contacts window (View > Window > Contacts).
Hi André, thank you for the reminder. This is View - Window - Contacts http://alpha-unix.de/~iceroot/ubuntu/evolution-contact-view.png the first is my local address-book, the three others are read from OWA directly, i checked for every entry the "settings" dialog. None of the entries does have a ldap-server set. Maybe there is a way to put evolution in a much higher debug-mode so i can see what ldap-server evolution is trying to reach? maybe that makes it easier to see if it is my fault (if i know the ldap-server) or if it is evolution-exchanges fault.
Maybe i have found the reason. I am using evolution-exchange to contact OWA. OWA/Exchange is holding an address-book. If the address-book from OWA can not be reached there is a general error message "can't contact ldap-server". So evolution is not really trying to contact an ldap-server. Just the error-message is wrong. It must be something like "can't contact (OWA)-Server" instead of "can't contact ldap-server" See also http://alpha-unix.de/~iceroot/ubuntu/evolution-wrong-message.png This can easily be reproduced. When evolution is asking for the password for the OWA-address-book just use a wrong password. It can also be reproduced, when composing a message, click on "To" to open the address-book dialog and remove the Lan-cable. Imo there should be two things: 1. dont use ldap in the error-message when the target is not ldap 2. dont say "can't be reached" when the credentials are wrong (also see my bug https://bugzilla.gnome.org/show_bug.cgi?id=668837)
Just for the record. The address-book "Global Address List" from my screenshot http://alpha-unix.de/~iceroot/ubuntu/evolution-wrong-message.png is our address-book from exchange/OWA
Thanks for a bug report. The evolution-exchange uses LDAP to connect to your Global Address Book. What the LDAP library returns is used, and it returns > ** WARNING **: LDAP authentication failed (0xffffffff (Can't contact LDAP > server)) in your case. There can be various reasons for it. I suppose one of your Global address books from your screenshot are actually working, thus I suggest to disable the Global Address List from Auto-completion, thus it'll not be used when you start composing a new message. I guess your company just doesn't provide GAL through LDAP, they provide it as usual address books. As far as I can tell, this is not a bug on any side.
Hi Milan, more a questions: Our company is not using LDAP. Its a setup with Exchange and AD. Available through OWA. So i still dont get what LDAP has to do with it because there is no LDAP running in our company. Or do i get something wrong?
evolution-exchange connector is using LDAP to talk to Global Address List on your server. I had similar warning on console too, but when I changed Edit->Preferences->Mail Accounts-><exchange account>->Edit->Third tab, at the bottom "GAL server", from empty string to same server name (only the host name), then the warning is gone (note the cange in accoutn requires reastart of evolution, and the best if you also restart e-addressbook-factory process). You cannot do with this "GAL over LDAP" anything, that's just how it is done within evolution-exchange, because exchange 2003 servers usually provide GAL over LDAP.