summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cm.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-28 13:26:57 +0200
committerVolker Lendecke <vl@samba.org>2011-04-29 16:57:36 +0200
commit0757688eb34ec1a22bf8c28f72416d6684756647 (patch)
tree4b8d8b2338f72813bf59958acc4c69faffa5f9c8 /source3/winbindd/winbindd_cm.c
parent50883cfeb4eed3d538f71443060745f8747044c9 (diff)
downloadsamba-0757688eb34ec1a22bf8c28f72416d6684756647.tar.gz
samba-0757688eb34ec1a22bf8c28f72416d6684756647.tar.bz2
samba-0757688eb34ec1a22bf8c28f72416d6684756647.zip
s3: In winbind, close parent/child sockets
This should further reduce fd load in winbind children
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 06d954fe95..f065d83995 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -233,7 +233,7 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain)
}
}
- if (!winbindd_reinit_after_fork(lfile)) {
+ if (!winbindd_reinit_after_fork(NULL, lfile)) {
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(parent_pid),
MSG_WINBIND_FAILED_TO_GO_ONLINE,