summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-11-05 10:34:11 +0100
committerStefan Metzmacher <metze@samba.org>2019-11-27 10:25:35 +0000
commitfa5033cfb7e9b65c23fe2c0c391c59b70d8415c3 (patch)
tree81abe1953d7a33abaf2323f31b2c0c0d6c22434b /source3/nmbd
parentf2a1f0c705bc2e1f0400e23892fde45de00032b4 (diff)
downloadsamba-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.c4
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. */