* the DB (and syncrepl clients not to commit our generated copy), callers
* need to make sure they don't copy the control from their op if they need
* it resolved anyway */
- if ( op->o_managedsait != SLAP_CONTROL_NONE )
+ if ( wants_manageDSAit( op ) )
return SLAP_CB_CONTINUE;
/* No entry or attribute already set? Nothing to do */
/* This prevents generating unnecessarily; frontend will strip
* any statically stored copy.
*/
- if ( op->o_sync != SLAP_CONTROL_NONE )
+ if ( wants_sync( op ) )
return SLAP_CB_CONTINUE;
if ( rs->sr_entry &&
if ( !SLAP_OPATTRS( rs->sr_attr_flags ))
continue;
/* if DSA-specific and replicating, skip */
- if ( op->o_sync != SLAP_CONTROL_NONE &&
+ if ( wants_sync( op ) &&
desc->ad_type->sat_usage == LDAP_SCHEMA_DSA_OPERATION )
continue;
}
continue;
}
/* if DSA-specific and replicating, skip */
- if ( op->o_sync != SLAP_CONTROL_NONE &&
+ if ( wants_sync( op ) &&
desc->ad_type->sat_usage == LDAP_SCHEMA_DSA_OPERATION )
continue;
} else {