After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 270535 - Authentication Type not being stored correctly in account config.
Authentication Type not being stored correctly in account config.
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.0.x (obsolete)
Other All
: Normal major
: ---
Assigned To: Not Zed
Evolution QA team
evolution[config]
: 270713 270775 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-12-14 00:00 UTC by Joe Basso
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix (1.40 KB, patch)
2005-01-12 02:23 UTC, Not Zed
none Details | Review

Description Joe Basso 2004-12-14 00:00:01 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>
Comment 1 Gerardo Marin 2004-12-28 18:47:00 UTC
*** bug 270713 has been marked as a duplicate of this bug. ***
Comment 2 Gerardo Marin 2004-12-28 18:47:29 UTC
*** bug 270775 has been marked as a duplicate of this bug. ***
Comment 3 Gerardo Marin 2004-12-28 19:00:43 UTC
This seems to affect both Connector and mailer.
Comment 4 Gerardo Marin 2005-01-03 23:54:24 UTC
*** http://bugzilla.ximian.com/show_bug.cgi?id=70945 has been marked as a duplicate of this bug. ***
Comment 5 Raul Acevedo 2005-01-04 19:58:02 UTC
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?
Comment 6 Joe Basso 2005-01-04 20:28:29 UTC
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.
Comment 7 Jeffrey Stedfast 2005-01-04 21:13:16 UTC
this has already been fixed
Comment 8 Raul Acevedo 2005-01-04 21:22:12 UTC
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
Comment 9 Jeffrey Stedfast 2005-01-04 23:05:20 UTC
that's a problem with the exchange connector, not evolution
Comment 10 Raul Acevedo 2005-01-05 19:34:16 UTC
Ok, I'll re-open my original bug (bug 270713).  Thanks!
Comment 11 Poornima 2005-01-07 06:15:16 UTC
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.
Comment 12 Joe Basso 2005-01-07 15:14:21 UTC
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.
Comment 13 Poornima 2005-01-11 07:44:07 UTC
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. 
Comment 14 Poornima 2005-01-11 09:53:17 UTC
This problem is general 'Evolution' problem, so changing 'Product' to
'Evolution'. Chaging priority to 'Major' as many users are facing this
issue.
Comment 15 Not Zed 2005-01-12 02:23:19 UTC
hmm, you guys should use gdb more, and talk less.

i found this fixing some other problem, patch awaiting approval
Comment 16 Not Zed 2005-01-12 02:23:43 UTC
Created attachment 44552 [details] [review]
fix
Comment 17 Raul Acevedo 2005-01-19 00:01:04 UTC
*** bug 270713 has been marked as a duplicate of this bug. ***
Comment 18 Not Zed 2005-01-24 02:03:51 UTC
committed

Comment 19 Jeffrey Stedfast 2005-01-26 19:47:26 UTC
already committed
Comment 20 Poornima 2005-01-27 06:57:15 UTC
Verified on 2.0.3 build dated 26/01/2005, bug is not reproducible