summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_dual.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index 8a4aad9de7..1a9cabb2cc 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -188,6 +188,9 @@ static void async_request_timeout_handler(struct event_context *ctx,
state->child->pid ));
winbind_child_died(state->child->pid);
+
+ /* Send kill signal to child. */
+ kill(state->child->pid, SIGTERM);
}
static void async_request_sent(void *private_data_data, BOOL success)