if ( dni->new_entry ) {
Modifications **modtail, **ml;
Attribute *old, *new;
- int i;
+ int i, is_ctx;
+
+ is_ctx = dn_match( &rs->sr_entry->e_nname,
+ &op->o_bd->be_nsuffix[0] );
/* Did the DN change?
*/
new = new->a_next;
continue;
}
+ /* Skip contextCSN */
+ if ( is_ctx && old->a_desc ==
+ slap_schema.si_ad_contextCSN ) {
+ old = old->a_next;
+ continue;
+ }
+
if ( old->a_desc != new->a_desc ) {
Modifications *mod;
Attribute *tmp;