From b21813c0bfa513b984fcbab81843c06d093332a5 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 17 May 2010 10:00:32 +0200 Subject: Add krb5 SIGTERM handler to ipa auth provider --- src/providers/ipa/ipa_init.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/providers/ipa/ipa_init.c') 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) { -- cgit