diff options
author | Guido Günther <agx@sigxcpu.org> | 2009-06-15 18:18:45 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-06-15 18:18:45 +0200 |
commit | 2010fc2e813ac24e35416edea553eaef938e3bd3 (patch) | |
tree | d09be582816353cb3167447f1e43ba8f7de9ab2f /src/krb5-auth-dbus.c | |
parent | document changes and release 0.10-1 (diff) | |
parent | Imported Upstream version 0.11 (diff) | |
download | krb5-auth-dialog-2010fc2e813ac24e35416edea553eaef938e3bd3.tar.gz krb5-auth-dialog-2010fc2e813ac24e35416edea553eaef938e3bd3.tar.bz2 krb5-auth-dialog-2010fc2e813ac24e35416edea553eaef938e3bd3.zip |
Merge commit 'upstream/0.11'
Diffstat (limited to 'src/krb5-auth-dbus.c')
-rw-r--r-- | src/krb5-auth-dbus.c | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/krb5-auth-dbus.c b/src/krb5-auth-dbus.c index 52dab46..4fd7e74 100644 --- a/src/krb5-auth-dbus.c +++ b/src/krb5-auth-dbus.c @@ -32,12 +32,24 @@ gboolean ka_dbus_acquire_tgt (KaApplet *applet, const gchar *principal, DBusGMethodInvocation *context) { - gboolean success; + gboolean success; - KA_DEBUG("Getting TGT for '%s'", principal); - success = ka_check_credentials(applet, principal); - dbus_g_method_return(context, success); - return TRUE; + KA_DEBUG("Getting TGT for '%s'", principal); + success = ka_check_credentials(applet, principal); + dbus_g_method_return(context, success); + return TRUE; +} + + +gboolean +ka_dbus_destroy_ccache(KaApplet* applet, DBusGMethodInvocation *context) +{ + gboolean success; + + KA_DEBUG("Destroying ticket cache"); + success = ka_destroy_ccache (applet); + dbus_g_method_return(context, success); + return TRUE; } |