summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2020-11-26 15:24:26 +0100
committerKarolin Seeger <kseeger@samba.org>2020-12-09 10:44:15 +0000
commit91f2f2dedb7e9fcac1ebc4849b5e64056905849a (patch)
tree9ee381212f07983ad5102ddcc0b0f957cddc40e4
parent4e6fdf5d8d932af52f029f84da774ae920e3a80f (diff)
downloadsamba-91f2f2dedb7e9fcac1ebc4849b5e64056905849a.tar.gz
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 <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 6fa5fb8ef26dab862df5c46bb5e74f19839c30e2)
-rw-r--r--source4/smbd/process_standard.c2
1 files changed, 2 insertions, 0 deletions
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);