X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Foverlays%2Frefint.c;h=eca78dc0981f68d20fd5a3a95017733001beaf54;hb=01f4aeac4c9ccc42a998c18f8995ce453d819b13;hp=2aaffe791860def9c90c42d7ad29c2d325b2df64;hpb=8d8ad7002683689fe17b659969a6db0d300f857e;p=openldap diff --git a/servers/slapd/overlays/refint.c b/servers/slapd/overlays/refint.c index 2aaffe7918..eca78dc098 100644 --- a/servers/slapd/overlays/refint.c +++ b/servers/slapd/overlays/refint.c @@ -527,6 +527,7 @@ refint_repair( dependent_data *dp; SlapReply rs = {REP_RESULT}; Operation op2; + unsigned long opid; int rc; op->o_callback->sc_response = refint_search_cb; @@ -565,6 +566,7 @@ refint_repair( * */ + opid = op->o_opid; op2 = *op; for ( dp = rq->attrs; dp; dp = dp->next ) { SlapReply rs2 = {REP_RESULT}; @@ -587,6 +589,7 @@ refint_repair( /* Internal ops, never replicate these */ op2.orm_no_opattrs = 1; op2.o_dont_replicate = 1; + op2.o_opid = 0; /* Set our ModifiersName */ if ( SLAP_LASTMOD( op->o_bd ) ) { @@ -686,6 +689,7 @@ refint_repair( op2.o_tmpfree( m, op2.o_tmpmemctx ); } } + op2.o_opid = opid; return 0; }