memberof_t *mo = (memberof_t *)on->on_bi.bi_private;
Operation op2 = *op;
+ unsigned long opid = op->o_opid;
SlapReply rs2 = { REP_RESULT };
slap_callback cb = { NULL, slap_null_cb, NULL, NULL };
Modifications mod[ 2 ] = { { { 0 } } }, *ml;
op2.orm_modlist = NULL;
/* Internal ops, never replicate these */
+ op2.o_opid = 0; /* shared with op, saved above */
op2.orm_no_opattrs = 1;
op2.o_dont_replicate = 1;
slap_mods_free( ml, 1 );
}
}
+ /* restore original opid */
+ op->o_opid = opid;
/* FIXME: if old_group_ndn doesn't exist, both delete __and__
* add will fail; better split in two operations, although
dependent_data *dp;
SlapReply rs = {REP_RESULT};
Operation op2;
+ unsigned long opid;
int rc;
op->o_callback->sc_response = refint_search_cb;
*
*/
+ opid = op2.o_opid;
op2 = *op;
for ( dp = rq->attrs; dp; dp = dp->next ) {
SlapReply rs2 = {REP_RESULT};
/* 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 ) ) {
op2.o_tmpfree( m, op2.o_tmpmemctx );
}
}
+ op2.o_opid = opid;
return 0;
}