From: Ralph Boehme Date: Thu, 26 Nov 2020 14:24:44 +0000 (+0100) Subject: s4/samba: call force_check_log_size() in standard_new_task() X-Git-Tag: samba-4.12.11~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20480f70ce0608a1bf296eda8f9dbff8cf746078;p=thirdparty%2Fsamba.git s4/samba: call force_check_log_size() in standard_new_task() BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248 RN: samba process does not honor max log size Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Mon Dec 7 18:54:29 UTC 2020 on sn-devel-184 (cherry picked from commit 058f96f4c4eda42b404f0067521d3eafb495fe7d) --- diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c index 878c4f1209c..c5f6ec7f402 100644 --- a/source4/smbd/process_standard.c +++ b/source4/smbd/process_standard.c @@ -504,6 +504,8 @@ static void standard_new_task(struct tevent_context *ev, setproctitle("task[%s]", service_name); + force_check_log_size(); + /* * Set up the process context to be passed through to the terminate * and accept_connection functions