]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6fa5fb8ef26dab862df5c46bb5e74f19839c30e2)

source4/smbd/process_standard.c

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