summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-07-17 20:10:18 -0700
committerJeremy Allison <jra@samba.org>2008-07-17 20:10:18 -0700
commit1484b7f3b540a9a9ec77199cea034f6368f6d2ad (patch)
treeaa9953b1f419f46f969fde56b203b48803934c3f /source3/winbindd/winbindd_dual.c
parente9b8e887c1db8a86b15104db8043257c1fa3738b (diff)
downloadsamba-1484b7f3b540a9a9ec77199cea034f6368f6d2ad.tar.gz
samba-1484b7f3b540a9a9ec77199cea034f6368f6d2ad.tar.bz2
samba-1484b7f3b540a9a9ec77199cea034f6368f6d2ad.zip
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)
Diffstat (limited to 'source3/winbindd/winbindd_dual.c')
-rw-r--r--source3/winbindd/winbindd_dual.c3
1 files changed, 2 insertions, 1 deletions
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);