ITS#5268 omit contextCSN when replicating

This commit is contained in:
Howard Chu 2007-12-08 17:45:10 +00:00
parent bcc108a7ff
commit 6c0b815b6f

View file

@ -2321,6 +2321,12 @@ syncprov_operational(
slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private;
/* This prevents generating unnecessarily; frontend will strip
* any statically stored copy.
*/
if ( op->o_sync != SLAP_CONTROL_NONE )
return SLAP_CB_CONTINUE;
if ( rs->sr_entry &&
dn_match( &rs->sr_entry->e_nname, op->o_bd->be_nsuffix )) {