GNOME Bugzilla – Bug 270535
Authentication Type not being stored correctly in account config.
Last modified: 2013-09-10 14:03:26 UTC
Description of Problem: Authentication Type not being stored correctly in account config. This impacts users who's Exchange servers only support Plaintext passwords. Steps to reproduce the problem: 1. Set up an Exchange account. 2. Choose "Plaintext Password" on the "Receiving Mail" tab in the Account Editor for the exchange acccount. 3. Save and exit the Account Editor and Account information window. 4. Attempt to view Exchange mail. Actual Results: Authentication is sent via NTLM thus a Dialog is displayed Stating that the user may need to use Plaintext Authentication. Expected Results: Authentication is sent via Plaintext, not using NTLM. How often does this happen? Every time the setting or user's password is changed. Additional Information: This is output from my evolution-exchange-storage with E2K_DEBUG=4 set. Just before this occured I Selected "Plaintext Password" as the authentication type. -------------------------------------------------------------------------- Evolution Exchange Storage up and running E2K_DEBUG=4 GET /exchange/joe.basso/ HTTP/1.1 E2k-Debug: 0x81430e0 @ 1102974628 Host: webmail.centurytel.com Accept-Language: en-US, en Authorization: NTLM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (replaced for security purposes) User-Agent: Evolution/2.0.3 401 Access Denied E2k-Debug: 0x81430e0 @ 1102974628 Date: Mon, 13 Dec 2004 21:48:56 GMT Server: Microsoft-IIS/5.0 Connection: close Content-Length: 24 Content-Type: text/html -------------------------------------------------------------------------- WORKAROUND: Manually edit the ~/.gconf/apps/evolution/mail/%gconf.xml for the accounts tag in the to be simmilar to: <source........><url>exchange://user;auth=Plain@exchange.server.name/.........</url></source>
*** bug 270713 has been marked as a duplicate of this bug. ***
*** bug 270775 has been marked as a duplicate of this bug. ***
This seems to affect both Connector and mailer.
*** http://bugzilla.ximian.com/show_bug.cgi?id=70945 has been marked as a duplicate of this bug. ***
The above work around didn't work for me. In fact evolution keeps reverting back to the original setting anyway. I suspect gconfd is caching that entry, so me changing the file has no effect. Is there anything else I'm supposed to do? I'm literally doing the following: 1. evolution --force-shutdown 2. emacs ~/.gconf/apps/evolution/mail/%gconf.xml 3. Change exchange://racevedo@ to exchange://racevedo;auth=Plain@ in two places, under <source> and <transport>. 4. Start evolution Am I missing a gconfd restart or something else in there?
I'm sorry, I didn't lay out all of the steps for the work around. This is what I did (thanks to the help form the folks in <irc.gimp.net>#evolution channel) 1. shutdown Evolution: "evolution --force-shutdown" 2. shutdown gconfd: "gconftool-2 --shtdown" 2. edit ~/.gconf/apps/evolution/mail/%gconf.xml 3. Change [protocol]://[USER]@ to [protocol]://[USER];auth=Plain@ under <source> (and <transport> if your server requires authentication for sending) 4. Start evolution (gconfd will restart automatically) Hope this helps.
this has already been fixed
This still doesn't work for me. Here's the stdout of evolution-exchange-storage... what's up with the kerberos error??? I don't think keberos should be involved in any of this. Am I having a different problem? E2K_DEBUG=10 /home/garnome/2.8.1/libexec/evolution/2.0/evolution-exchange-storage Evolution Exchange Storage up and running E2K_DEBUG=10 (evolution-exchange-storage:6288): Gtk-WARNING **: Theme directory of theme Crystal-Raul has no size field GET /exchange/racevedo/ HTTP/1.1 E2k-Debug: 0x8232780 @ 1104870401 Host: exchange.foo.com Accept-Language: en-US, en Authorization: NTLM TlRMTVNTUAABAAAABoIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA User-Agent: Evolution/2.0.3 401 Access Denied E2k-Debug: 0x8232780 @ 1104870401 Date: Tue, 04 Jan 2005 20:26:41 GMT Server: Microsoft-IIS/5.0 Connection: close Content-Length: 24 Content-Type: text/html ** (evolution-exchange-storage:6288): WARNING **: Unexpected kerberos error -1765328230
that's a problem with the exchange connector, not evolution
Ok, I'll re-open my original bug (bug 270713). Thanks!
Joe: I followed the steps given to change to 'Plain' text authentication but if i see traces still NTLM is used. Have you missed any step there.
My apologies, I gave bad information as part of the workaround. Instead of auth=Plain, it should be auth=Basic. CORRECTED WORKAROUND: 1. shutdown Evolution: "evolution --force-shutdown" 2. shutdown gconfd: "gconftool-2 --shtdown" 2. edit ~/.gconf/apps/evolution/mail/%gconf.xml 3. Change [protocol]://[USER]@ to [protocol]://[USER];auth=Basic@ under <source> (and <transport> if your server requires authentication for sending) 4. Start evolution (gconfd will restart automatically) Sorry for any confusion.
Thanks for info:I observe that if SSL is configured then authentication changes from NTLM to Basic after doing changes in %gconf.xml. If SSL is not configured even after doing changes to authentication in %gconf.xml to Basic , authentication is still NTLM only.
This problem is general 'Evolution' problem, so changing 'Product' to 'Evolution'. Chaging priority to 'Major' as many users are facing this issue.
hmm, you guys should use gdb more, and talk less. i found this fixing some other problem, patch awaiting approval
Created attachment 44552 [details] [review] fix
committed
already committed
Verified on 2.0.3 build dated 26/01/2005, bug is not reproducible