diff options
author | Simo Sorce <simo@redhat.com> | 2013-08-28 23:18:37 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-08-28 23:36:50 -0400 |
commit | be894d65471bb6de25623f01a02c606a20b76468 (patch) | |
tree | c3d6855c67f7cff96abd2db739c426c6fbf95e9a /src/tests | |
parent | c0b30b30d087cfa1051b86c432fdbda8c03e9f9d (diff) | |
download | sssd-be894d65471bb6de25623f01a02c606a20b76468.tar.gz sssd-be894d65471bb6de25623f01a02c606a20b76468.tar.xz sssd-be894d65471bb6de25623f01a02c606a20b76468.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/tests')
-rw-r--r-- | src/tests/krb5_child-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/krb5_child-test.c b/src/tests/krb5_child-test.c index 24d077289..dff62ab64 100644 --- a/src/tests/krb5_child-test.c +++ b/src/tests/krb5_child-test.c @@ -561,7 +561,7 @@ done: if (rm_ccache && ctx->res && ctx->res->ccname && ctx->kr) { - ctx->kr->krb5_ctx->cc_be->remove(ctx->res->ccname); + sss_krb5_cc_destroy(ctx->res->ccname, ctx->kr->uid, ctx->kr->gid); } free(password); talloc_free(ctx); |