mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
ITS#7426 ignore syncrepl ops
This commit is contained in:
parent
951418f0bf
commit
b4126863a4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user