diff options
author | Simo Sorce <simo@redhat.com> | 2013-08-28 23:18:37 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-09-09 15:11:45 -0400 |
commit | a70e88f62e8ba48c5042b881f20ed6586cb135a8 (patch) | |
tree | 3fa1fa5b0f248268cedda1bf443bca0d10475835 /src/providers/krb5/krb5_utils.h | |
parent | 04c49a183f49c28f9ef900bdbc4eb30f23278e17 (diff) | |
download | sssd-a70e88f62e8ba48c5042b881f20ed6586cb135a8.tar.gz sssd-a70e88f62e8ba48c5042b881f20ed6586cb135a8.tar.xz sssd-a70e88f62e8ba48c5042b881f20ed6586cb135a8.zip |
krb5: Use krb5_cc_destroy to remove old ccaches
This completely replaces the per-ccache-type custom code to remove old cacches
and instead uses libkrb5 base doperations (krb5_cc_destroy) and operating as
the user owner.
Resolves:
https://fedorahosted.org/sssd/ticket/2061
Diffstat (limited to 'src/providers/krb5/krb5_utils.h')
-rw-r--r-- | src/providers/krb5/krb5_utils.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_utils.h b/src/providers/krb5/krb5_utils.h index ebcfe938a..ac29d61e9 100644 --- a/src/providers/krb5/krb5_utils.h +++ b/src/providers/krb5/krb5_utils.h @@ -52,7 +52,6 @@ typedef errno_t (*cc_be_check_existing)(const char *location, uid_t uid, typedef const char * (*cc_be_ccache_for_princ)(TALLOC_CTX *mem_ctx, const char *location, const char *princ); -typedef errno_t (*cc_be_remove)(const char *location); /* A ccache back end */ struct sss_krb5_cc_be { @@ -61,7 +60,6 @@ struct sss_krb5_cc_be { cc_be_create_fn create; cc_be_check_existing check_existing; cc_be_ccache_for_princ ccache_for_princ; - cc_be_remove remove; }; extern struct sss_krb5_cc_be file_cc; |