From: Howard Chu Date: Fri, 14 Jul 2006 01:55:57 +0000 (+0000) Subject: Each refint op needs a unique timestamp, must perform searches as rootdn X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89697d3a93f4d13ca99ca2f419abedea5a9b0a7a;p=openldap Each refint op needs a unique timestamp, must perform searches as rootdn --- diff --git a/servers/slapd/overlays/refint.c b/servers/slapd/overlays/refint.c index e83fca12e2..5744ada497 100644 --- a/servers/slapd/overlays/refint.c +++ b/servers/slapd/overlays/refint.c @@ -472,6 +472,9 @@ refint_qtask( void *ctx, void *arg ) op->o_req_ndn = id->dn; op->o_req_dn = id->dn; op->o_bd = rq->db; + op->o_dn = op->o_bd->be_rootdn; + op->o_ndn = op->o_bd->be_rootndn; + slap_op_time( &op->o_time, &op->o_tincr ); /* search */ rc = op->o_bd->be_search(op, &rs); @@ -571,6 +574,7 @@ refint_qtask( void *ctx, void *arg ) op->o_dn = op->o_bd->be_rootdn; op->o_ndn = op->o_bd->be_rootndn; + slap_op_time( &op->o_time, &op->o_tincr ); if((rc = op->o_bd->be_modify(op, &rs)) != LDAP_SUCCESS) { Debug( LDAP_DEBUG_TRACE, "refint_response: dependent modify failed: %d\n",