summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-08-28 22:12:07 -0400
committerSimo Sorce <simo@redhat.com>2013-09-09 15:11:45 -0400
commit04c49a183f49c28f9ef900bdbc4eb30f23278e17 (patch)
tree9dd97c871fb5c6a62a91343a1cdd677e14cdeaeb /src/tests
parent0371fbcf60d4dd8e25b9bb0a83029c812b66f3d6 (diff)
downloadsssd-04c49a183f49c28f9ef900bdbc4eb30f23278e17.tar.gz
sssd-04c49a183f49c28f9ef900bdbc4eb30f23278e17.tar.bz2
sssd-04c49a183f49c28f9ef900bdbc4eb30f23278e17.zip
krb5: Add helper to destroy ccache as user
This function safely destroy a ccache given a cache name and user crdentials. It becomes the user so no possible races can compromise the system, then uses libkrb5 functions to properly destroy a ccache, independently of the cache type. Finally restores the original credentials after closing the ccache handlers. Resolves: https://fedorahosted.org/sssd/ticket/2061
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions