From: Ondřej Kuzník Date: Tue, 14 Sep 2021 10:16:39 +0000 (+0100) Subject: ITS#9538 Do not attach csn on (internal) searches X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87b78f2060d77755787389aecad9de975051e0f2;p=thirdparty%2Fopenldap.git ITS#9538 Do not attach csn on (internal) searches --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 83239c38f9..41cd5e49c2 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -4290,6 +4290,7 @@ retry_add:; op2.ors_limit = NULL; op2.ors_slimit = 1; op2.ors_tlimit = SLAP_NO_LIMIT; + BER_BVZERO( &op2.o_csn ); f.f_choice = LDAP_FILTER_PRESENT; f.f_desc = slap_schema.si_ad_objectClass;