s4/samba: call force_check_log_size() in standard_accept_connection()
authorRalph Boehme <slow@samba.org>
Thu, 26 Nov 2020 14:24:26 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 7 Dec 2020 17:54:10 +0000 (17:54 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/samba/process_standard.c

index 2820e30eace7dd3a0ef84d17d3fab5e7b65d2214..0e1a2db8a5b5efb082efcb0ed12fa8e41b91bea1 100644 (file)
@@ -408,6 +408,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);