From: Howard Chu Date: Sun, 15 Feb 2009 23:14:25 +0000 (+0000) Subject: Fix compare op X-Git-Tag: ACLCHECK_0~822 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=450f352ec14a6c053b50cd2016c197d461990d8e;p=openldap Fix compare op --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 08800c1b2b..9457523e51 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1762,6 +1762,7 @@ syncprov_op_compare( Operation *op, SlapReply *rs ) a.a_vals = si->si_ctxcsn; a.a_nvals = a.a_vals; + a.a_numvals = si->si_numcsns; rs->sr_err = access_allowed( op, &e, op->oq_compare.rs_ava->aa_desc, &op->oq_compare.rs_ava->aa_value, ACL_COMPARE, NULL );