diff options
author | Björn Baumbach <bb@sernet.de> | 2014-03-19 15:01:11 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-04-29 10:14:56 +0200 |
commit | bb79bdb97b97c72a79727d3dbbd67c26f4938bec (patch) | |
tree | 8e7e0a03e4b4822400221ec59f486d93ed1c8084 /source3 | |
parent | 675782c1c6dca6707c77ab1f307085507fd9773a (diff) | |
download | samba-bb79bdb97b97c72a79727d3dbbd67c26f4938bec.tar.gz |
s3-nmbd: reset debug settings after reading config file (bug #10239)
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 25 18:29:06 CET 2014 on sn-devel-104
(cherry picked from commit a7df00c82049547129f063a40a842b156c8aead4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index ec0e7d098f..8084e58619 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); } @@ -907,6 +909,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 |