diff options
| author | Simo Sorce <simo@redhat.com> | 2013-08-28 22:12:07 -0400 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2013-08-28 22:28:35 -0400 |
| commit | c0b30b30d087cfa1051b86c432fdbda8c03e9f9d (patch) | |
| tree | 6517a0e29576afe39249301d691b8abd6c8f0d8c /src/python | |
| parent | 44a9fd23f1da009e03f60e4d297a5e1d51caa533 (diff) | |
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/python')
0 files changed, 0 insertions, 0 deletions
