From: Howard Chu Date: Fri, 2 Nov 2012 00:56:52 +0000 (-0700) Subject: ITS#7426 ignore syncrepl ops X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b4126863a4443630392afc50de65b0c90de2304f;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; }