ITS#7426 ignore syncrepl ops

This commit is contained in:
Howard Chu 2012-11-01 17:56:52 -07:00
parent 951418f0bf
commit b4126863a4

View File

@ -771,7 +771,7 @@ constraint_add( Operation *op, SlapReply *rs )
int rc;
char *msg = NULL;
if (get_relax(op)) {
if (get_relax(op) || SLAPD_SYNC_IS_SYNCCONN( op->o_connid )) {
return SLAP_CB_CONTINUE;
}
@ -903,7 +903,7 @@ constraint_update( Operation *op, SlapReply *rs )
char *msg = NULL;
int is_v;
if (get_relax(op)) {
if (get_relax(op) || SLAPD_SYNC_IS_SYNCCONN( op->o_connid )) {
return SLAP_CB_CONTINUE;
}