summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-12 19:47:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:16 -0500
commita5f3e848c0db0e27d5e7ee43d730d69e4bed8106 (patch)
tree93e44f27e784d9ef85f1c39da9c396d4437d162a /source3
parent07d2301040d1134d4f9488e786b2a13c46212bda (diff)
downloadsamba-a5f3e848c0db0e27d5e7ee43d730d69e4bed8106.tar.gz
samba-a5f3e848c0db0e27d5e7ee43d730d69e4bed8106.tar.bz2
samba-a5f3e848c0db0e27d5e7ee43d730d69e4bed8106.zip
r23447: Add kill signal to child dead path. After talking
to Jerry add to 3.0.25b. Jeremy. (This used to be commit ade91e78cbe2871d3a8df18fa1f92bc16a7600a8)
Diffstat (limited to 'source3')
-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)