From: Pierangelo Masarati Date: Wed, 12 Mar 2008 22:31:28 +0000 (+0000) Subject: use the replication persistent search identity to check whether a modification must... X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~99 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5417aa895acdcbd2e0d64bcb8e197e4dfb177331;p=openldap use the replication persistent search identity to check whether a modification must be replicated (ITS#5418) --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index d6c2156a06..3e7c866d21 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1214,7 +1214,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit ) } /* check if current o_req_dn is in scope and matches filter */ - if ( fc.fscope && test_filter( op, e, ss->s_op->ors_filter ) == + if ( fc.fscope && test_filter( ss->s_op, e, ss->s_op->ors_filter ) == LDAP_COMPARE_TRUE ) { if ( saveit ) { sm = op->o_tmpalloc( sizeof(syncmatches), op->o_tmpmemctx );