diff options
author | Jeremy Allison <jra@samba.org> | 2008-07-17 20:10:18 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-07-17 20:10:18 -0700 |
commit | 62d319cc1a2ef891866b2ddbd22f3ed0944356af (patch) | |
tree | 208ae59f12f82bef10bd4ecf0c815e229936e89c /source/winbindd/winbindd_dual.c | |
parent | 2a45f1a87c7c9a8879c3308d59d92f6c4985954d (diff) | |
download | samba-62d319cc1a2ef891866b2ddbd22f3ed0944356af.tar.gz samba-62d319cc1a2ef891866b2ddbd22f3ed0944356af.tar.xz samba-62d319cc1a2ef891866b2ddbd22f3ed0944356af.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.
Diffstat (limited to 'source/winbindd/winbindd_dual.c')
-rw-r--r-- | source/winbindd/winbindd_dual.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_dual.c b/source/winbindd/winbindd_dual.c index c3bcb715bb0..57ab627a5be 100644 --- a/source/winbindd/winbindd_dual.c +++ b/source/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); |