diff options
| author | Sumit Bose <sbose@redhat.com> | 2010-05-14 12:04:36 +0200 |
|---|---|---|
| committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-27 14:44:13 -0400 |
| commit | 6126d57239edc0ed0fac8082e00cd4a685c0566d (patch) | |
| tree | f161ea88a84e1a312e7dc38cb5ef3cc16d14f2f6 /src/providers/ipa | |
| parent | 6f5472ad13a013bacd66d2f32a5addfe535239f3 (diff) | |
| download | sssd-6126d57239edc0ed0fac8082e00cd4a685c0566d.tar.gz sssd-6126d57239edc0ed0fac8082e00cd4a685c0566d.tar.xz sssd-6126d57239edc0ed0fac8082e00cd4a685c0566d.zip | |
Add callback to remove krb5 info files when going offline
Diffstat (limited to 'src/providers/ipa')
| -rw-r--r-- | src/providers/ipa/ipa_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_init.c b/src/providers/ipa/ipa_init.c index 0e72b1fab..60501ce24 100644 --- a/src/providers/ipa/ipa_init.c +++ b/src/providers/ipa/ipa_init.c @@ -287,6 +287,12 @@ int sssm_ipa_auth_init(struct be_ctx *bectx, goto done; } + ret = krb5_install_offline_callback(bectx, krb5_auth_ctx); + if (ret != EOK) { + DEBUG(1, ("krb5_install_offline_callback failed.\n")); + goto done; + } + if (debug_to_file != 0) { ret = open_debug_file_ex("krb5_child", &debug_filep); if (ret != EOK) { |
