From 1484b7f3b540a9a9ec77199cea034f6368f6d2ad Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 17 Jul 2008 20:10:18 -0700 Subject: From Jim McDonough In reloading the smb.conf, if a "log file" is specified in smb.conf, winbind children will overwrite the logfile name to be the same as the parent. Jeremy. (This used to be commit 62d319cc1a2ef891866b2ddbd22f3ed0944356af) --- source3/winbindd/winbindd_dual.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/winbindd/winbindd_dual.c') diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index c3bcb715bb..57ab627a5b 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1148,7 +1148,8 @@ static bool fork_domain_child(struct winbindd_child *child) /* check for signals */ winbind_check_sigterm(false); - winbind_check_sighup(); + winbind_check_sighup(override_logfile ? NULL : + child->logfilename); run_events(winbind_event_context(), 0, NULL, NULL); -- cgit