diff options
author | Ralph Boehme <slow@samba.org> | 2019-11-05 10:34:11 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-11-27 10:25:35 +0000 |
commit | fa5033cfb7e9b65c23fe2c0c391c59b70d8415c3 (patch) | |
tree | 81abe1953d7a33abaf2323f31b2c0c0d6c22434b /source3/nmbd | |
parent | f2a1f0c705bc2e1f0400e23892fde45de00032b4 (diff) | |
download | samba-fa5033cfb7e9b65c23fe2c0c391c59b70d8415c3.tar.gz |
smbdotconf: mark "logfile" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index b4097d1dc57..0b881d13f7b 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -851,6 +851,8 @@ static bool open_sockets(bool isdaemon, int port) POPT_COMMON_SAMBA POPT_TABLEEND }; + const struct loadparm_substitution *lp_sub = + loadparm_s3_global_substitution(); TALLOC_CTX *frame; NTSTATUS status; bool ok; @@ -916,7 +918,7 @@ static bool open_sockets(bool isdaemon, int port) } fault_setup(); - dump_core_setup("nmbd", lp_logfile(talloc_tos())); + dump_core_setup("nmbd", lp_logfile(talloc_tos(), lp_sub)); /* POSIX demands that signals are inherited. If the invoking process has * these signals masked, we will have problems, as we won't receive them. */ |