diff options
author | Sumit Bose <sbose@redhat.com> | 2010-05-17 10:00:32 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-27 14:44:13 -0400 |
commit | b21813c0bfa513b984fcbab81843c06d093332a5 (patch) | |
tree | b50d1a6139ac24429906ef477ed37ccbd32c4ff8 /src/providers/ipa | |
parent | eaf3dcc15e9eb093ecf8b934f6c3a82d01236a92 (diff) | |
download | sssd-b21813c0bfa513b984fcbab81843c06d093332a5.tar.gz sssd-b21813c0bfa513b984fcbab81843c06d093332a5.tar.bz2 sssd-b21813c0bfa513b984fcbab81843c06d093332a5.zip |
Add krb5 SIGTERM handler to ipa auth provider
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 60501ce2..59e479e8 100644 --- a/src/providers/ipa/ipa_init.c +++ b/src/providers/ipa/ipa_init.c @@ -293,6 +293,12 @@ int sssm_ipa_auth_init(struct be_ctx *bectx, goto done; } + ret = krb5_install_sigterm_handler(bectx->ev, krb5_auth_ctx); + if (ret != EOK) { + DEBUG(1, ("krb5_install_sigterm_handler failed.\n")); + goto done; + } + if (debug_to_file != 0) { ret = open_debug_file_ex("krb5_child", &debug_filep); if (ret != EOK) { |