From f44ec9f478afb0389df4b11f7b84b0a3a10ff068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= Date: Wed, 19 Mar 2014 15:01:11 +0100 Subject: [PATCH] s3-nmbd: reset debug settings after reading config file (bug #10239) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Baumbach Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Mar 25 18:29:06 CET 2014 on sn-devel-104 (cherry picked from commit a7df00c82049547129f063a40a842b156c8aead4) --- source3/nmbd/nmbd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 196b582..4d3e039 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -414,6 +414,8 @@ static bool reload_nmbd_services(bool test) reload_nmbd_services( True ); } + reopen_logs(); + return(ret); } @@ -900,6 +902,8 @@ static bool open_sockets(bool isdaemon, int port) exit(1); } + reopen_logs(); + if (lp_server_role() == ROLE_ACTIVE_DIRECTORY_DC && !lp_parm_bool(-1, "server role check", "inhibit", false)) { /* TODO: when we have a merged set of defaults for -- 1.8.3.2