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 558232 - Keeps forgetting passwords
Keeps forgetting passwords
Status: RESOLVED DUPLICATE of bug 552583
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[passwords]
Depends on:
Blocks:
 
 
Reported: 2008-10-28 12:34 UTC by Michael Monreal
Modified: 2008-11-03 18:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Screenshot (37.65 KB, image/png)
2008-10-28 12:36 UTC, Michael Monreal
  Details
Debugging patch (1.35 KB, patch)
2008-10-31 21:52 UTC, Matthew Barnes
needs-work Details | Review
Revised debugging patch (1.34 KB, patch)
2008-10-31 22:08 UTC, Matthew Barnes
needs-work Details | Review
Log (103.35 KB, text/plain)
2008-11-02 00:13 UTC, Michael Monreal
  Details

Description Michael Monreal 2008-10-28 12:34:52 UTC
I noticed this a few weeks ago for my GMail IMAP account: suddenly Evolution would stop using the password from the keyring and ask every time I start it for this password (only offering to remember the pass for this session).

At some point the problem seamed to have fixed itself... but yesterday the same happened for another mail account (this time POP). Exactly the same issue. The POP password is gone from the keyring (SMTP pass still stored for this account).
Comment 1 Michael Monreal 2008-10-28 12:36:04 UTC
Created attachment 121514 [details]
Screenshot
Comment 2 Matthew Barnes 2008-10-28 23:42:01 UTC
If you're still getting consistent password prompts for your POP account on startup with only an offer to remember the password for the session, would you mind trying a bit of debugging?

I'm interested in what the URL that's getting passed to mail_config_get_account_by_source_url() looks like, particularly the URL for your POP account, and whether that function is returning a match.

I can give you more specific instructions if you need them.
Comment 3 Michael Monreal 2008-10-29 08:17:59 UTC
I don't have much time to play with the evo source atm but if you can provide a debug patch or at least some more specific information where to insert debug statements I would be happy to provide more information
Comment 4 Matthew Barnes 2008-10-31 21:52:00 UTC
Created attachment 121754 [details] [review]
Debugging patch

Here's a patch that generates some console messages while comparing URIs.

When Camel needs a password it sends up the URI for the requesting account and Evolution compares that to all known account URIs.  If it can't find a match, the password prompt will only offer to save it for the current session.

Try capturing the debug output from this patch just before you get a password prompt.  I'm guessing one of the URLs will have attributes the other doesn't, so the match will fail.
Comment 5 Matthew Barnes 2008-10-31 22:08:54 UTC
Created attachment 121756 [details] [review]
Revised debugging patch

Whoops.  Small boo boo in the previous patch.
Comment 6 Michael Monreal 2008-11-02 00:13:17 UTC
Created attachment 121798 [details]
Log

I disabled all but the gmx pop account, rebuild evo with the patch and this is what I get. Not really useful I think, but perhaps you can read more from it :)
Comment 7 Matthew Barnes 2008-11-03 18:26:32 UTC
Moving this investigation over to bug #552583.  Seems to be the same issue.

*** This bug has been marked as a duplicate of 552583 ***