From: Ralph Boehme Date: Thu, 26 Nov 2020 14:24:26 +0000 (+0100) Subject: s4/samba: call force_check_log_size() in standard_accept_connection() X-Git-Tag: samba-4.12.11~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91f2f2dedb7e9fcac1ebc4849b5e64056905849a;p=thirdparty%2Fsamba.git s4/samba: call force_check_log_size() in standard_accept_connection() BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit 6fa5fb8ef26dab862df5c46bb5e74f19839c30e2) --- diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c index 139339c92ec..878c4f1209c 100644 --- a/source4/smbd/process_standard.c +++ b/source4/smbd/process_standard.c @@ -401,6 +401,8 @@ static void standard_accept_connection( talloc_free(c); talloc_free(s); + force_check_log_size(); + /* setup this new connection. Cluster ID is PID based for this process model */ new_conn(ev, lp_ctx, sock2, cluster_id(pid, 0), private_data, process_context);