]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4/samba: call force_check_log_size() in standard_new_task()
authorRalph Boehme <slow@samba.org>
Thu, 26 Nov 2020 14:24:44 +0000 (15:24 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 9 Dec 2020 10:44:15 +0000 (10:44 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248
RN: samba process does not honor max log size

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec  7 18:54:29 UTC 2020 on sn-devel-184

(cherry picked from commit 058f96f4c4eda42b404f0067521d3eafb495fe7d)

source4/smbd/process_standard.c

index 878c4f1209cdd441282e37ea87f8314c93d3a469..c5f6ec7f402e7482f19a78b90cdc25934958d869 100644 (file)
@@ -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