From 7573c62a2e61293a4800e67919d79341fa1a1532 Mon Sep 17 00:00:00 2001 From: progier389 Date: Wed, 26 May 2021 16:07:43 +0200 Subject: [PATCH 10/12] Issue 4764 - replicated operation sometime checks ACI (#4783) (cherry picked from commit 0cfdea7abcacfca6686a6cf84dbf7ae1167f3022) --- ldap/servers/slapd/connection.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ldap/servers/slapd/connection.c b/ldap/servers/slapd/connection.c index c7a15e775..e0c1a52d2 100644 --- a/ldap/servers/slapd/connection.c +++ b/ldap/servers/slapd/connection.c @@ -1771,6 +1771,14 @@ connection_threadmain() } } + /* + * Fix bz 1931820 issue (the check to set OP_FLAG_REPLICATED may be done + * before replication session is properly set). + */ + if (replication_connection) { + operation_set_flag(op, OP_FLAG_REPLICATED); + } + /* * Call the do_ function to process this request. */ -- 2.26.3