From: Howard Chu Date: Fri, 2 Nov 2012 00:56:52 +0000 (-0700) Subject: ITS#7426 ignore syncrepl ops X-Git-Tag: OPENLDAP_REL_ENG_2_4_34~126 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2b3f23a100ee1ac115895f667c73789732d30fc;p=openldap ITS#7426 ignore syncrepl ops --- diff --git a/servers/slapd/overlays/constraint.c b/servers/slapd/overlays/constraint.c index 897ad3c720..ee8911bd40 100644 --- a/servers/slapd/overlays/constraint.c +++ b/servers/slapd/overlays/constraint.c @@ -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; }