diff options
| author | Simo Sorce <simo@redhat.com> | 2013-08-28 22:12:07 -0400 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2013-09-05 09:09:41 -0400 |
| commit | 697cb91c4ed9286627d364acd8d2fd48a34550ac (patch) | |
| tree | b1d93c509507e360afedd20c83b6ff4ea6a04082 /src/python | |
| parent | 06bab487ed43631987f3f4b2bc9963db45f43f80 (diff) | |
| download | sssd-697cb91c4ed9286627d364acd8d2fd48a34550ac.tar.gz sssd-697cb91c4ed9286627d364acd8d2fd48a34550ac.tar.xz sssd-697cb91c4ed9286627d364acd8d2fd48a34550ac.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/python')
0 files changed, 0 insertions, 0 deletions
