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 691737 - Getting "An online account needs attention" notifications when logging in with cache credentials
Getting "An online account needs attention" notifications when logging in wit...
Status: RESOLVED INCOMPLETE
Product: gnome-online-accounts
Classification: Core
Component: Kerberos
3.6.x
Other All
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-01-14 20:24 UTC by Stéphane Graber
Modified: 2014-06-12 12:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stéphane Graber 2013-01-14 20:24:37 UTC
My machines use sssd to connect to a samba4 (AD-like) domain.
That means that my users get a kerberos ticket when the machine has network connectivity and that they don't when they're using cache credentials (most of the time).

In those cases where I use cached credentials, a few seconds after login, I get the "An online account needs attention" notification.


I only had a very quick look at the code but my guess here is that the kerberos provider sets the attention_needed flag when it can't verify or renew the ticket with the server.

While this behaviour is understandable as the ticket indeed won't be usable, I don't think it warrants prompting the user about it, especially as there's nothing the user can do about it from within the Online Accounts dialog.

The only thing the user can do to solve this situation is to re-enter they credentials the next time they do something requiring the kerberos ticket. For example connecting to a network share with nautilus.


Let me know if you need any details. I'm using 3.6.2 and can't easily upgrade to something more recent, but I should be able to backport any proposed patch to test it.
Comment 1 Debarshi Ray 2013-03-05 13:19:14 UTC
That particular notification has now been dropped. See bug 660882
We should make the Kerberos code intelligent enough to adapt to changes in network. See bug 693578

Both those bugs taken together should cover your case. Right? Or is there something else that I am missing?
Comment 2 Debarshi Ray 2014-04-18 09:48:37 UTC
Ping?
Comment 3 Debarshi Ray 2014-06-12 12:02:47 UTC
I am going to close this as INCOMPLETE, but if you have reason to disagree with comment 1 then please feel free to reopen it.