diff options
author | Debarshi Ray <debarshir@gnome.org> | 2022-10-12 22:59:34 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2022-10-12 23:08:18 +0200 |
commit | 89ac2054cb8d82294a2ad664ad298abd32bad8be (patch) | |
tree | a36092e8796f3cd36f329183bfc79172fc60a447 /src | |
parent | e619622b129ef6e7511599db7ba890418192f7b8 (diff) | |
download | gnome-online-accounts-89ac2054cb8d82294a2ad664ad298abd32bad8be.tar.gz |
kerberos-identity-manager: Clarify an ambiguous debug log about KCM
Kerberos KCM credential caches do support multiple identities and a lot
of users use KCM these days because it's the default on Fedora. Hence,
it's better not to have a debug log that implies that the code wasn't
expecting KCM and is making assumptions about it - KCM is definitely a
supported Kerberos cache type.
https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/merge_requests/104
Diffstat (limited to 'src')
-rw-r--r-- | src/goaidentity/goakerberosidentitymanager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/goaidentity/goakerberosidentitymanager.c b/src/goaidentity/goakerberosidentitymanager.c index caed5ae..4fcb132 100644 --- a/src/goaidentity/goakerberosidentitymanager.c +++ b/src/goaidentity/goakerberosidentitymanager.c @@ -834,7 +834,9 @@ get_new_credentials_cache (GoaKerberosIdentityManager *self, self->credentials_cache_type); supports_multiple_identities = FALSE; } - else if (g_strcmp0 (self->credentials_cache_type, "DIR") == 0 || g_strcmp0 (self->credentials_cache_type, "KEYRING") == 0) + else if (g_strcmp0 (self->credentials_cache_type, "DIR") == 0 + || g_strcmp0 (self->credentials_cache_type, "KCM") == 0 + || g_strcmp0 (self->credentials_cache_type, "KEYRING") == 0) { g_debug ("GoaKerberosIdentityManager: credential cache type %s supports cache collections", self->credentials_cache_type); supports_multiple_identities = TRUE; |