GNOME Bugzilla – Bug 761188
Use primary@REALM as the presentation identity for temporary accounts
Last modified: 2016-01-29 12:22:05 UTC
Kerberos accounts added through the Settings -> Online Accounts UI are shown as primary@REALM (eg., dray@REDHAT.COM). However, those that are added via kinit (ie. temporary accounts) are only shown as REALM (eg., REDHAT.COM). This is inconsistent in itself. Moreover, for other providers (like Google, IMAP/SMTP, etc.) we try to show the full user facing (and user readable) string as much as possible. Essentially, this is the string that the user could be expected to type into a configuration dialog. eg., foo@bar.com that they use to log into Facebook, but not the human unreadable identifier that Facebook's API uses. I think the original idea behind only using REALM was to avoid showing a longer string when there was only one account. However, we never did that for persistent accounts, and as I said, we usually show foo.bar@gmail.com, not gmail.com for the other types of accounts that we have. Let's just use primary@REALM.
Created attachment 319857 [details] [review] identity: Use primary@REALM to present temporary accounts
Created attachment 319858 [details] [review] identity: Remove obsolete comment
Review of attachment 319857 [details] [review]: fine with me.
Review of attachment 319858 [details] [review]: nice, thanks.
Created attachment 319860 [details] [review] kerberos: Remove redundant variable
Review of attachment 319860 [details] [review]: ++
Comment on attachment 319860 [details] [review] kerberos: Remove redundant variable Thanks for the reviews, halfline!