[krb5-auth-dialog] Ignore SCC (sqlite) cache type
- From: Guido Günther <guidog src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Ignore SCC (sqlite) cache type
- Date: Sun, 7 Feb 2010 01:30:09 +0000 (UTC)
commit 592dc35e911170e58ba6698925ec664b20ca1abc
Author: Guido Günther <agx sigxcpu org>
Date: Thu Feb 4 19:02:13 2010 +0100
Ignore SCC (sqlite) cache type
since we'd need to monitor the db journal etc. too.
src/krb5-auth-dialog.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
index e831db2..af451f3 100644
--- a/src/krb5-auth-dialog.c
+++ b/src/krb5-auth-dialog.c
@@ -258,10 +258,11 @@ ka_ccache_filename (void)
name = krb5_cc_default_name (kcontext);
if (g_str_has_prefix (name, "FILE:"))
return strchr(name,':')+1;
- else {
- g_warning ("Unsupported cache type for %s", name);
- return NULL;
- }
+ else if (g_str_has_prefix (name, "SCC:"))
+ g_warning ("Cannot monitor sqlite based cache '%s'", name);
+ else
+ g_warning ("Unsupported cache type for '%s'", name);
+ return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]