From 89697d3a93f4d13ca99ca2f419abedea5a9b0a7a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 14 Jul 2006 01:55:57 +0000 Subject: [PATCH] Each refint op needs a unique timestamp, must perform searches as rootdn --- servers/slapd/overlays/refint.c | 4 ++++ 1 file changed, 4 insertions(+) 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", -- 2.39.5