mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#6608 don't update mod opattrs on single-master slaves
This commit is contained in:
parent
7e7f24f13f
commit
9434a7d676
@ -1165,6 +1165,9 @@ locked:
|
||||
c.ldctl_iscritical = 1;
|
||||
c.ldctl_oid = LDAP_CONTROL_RELAX;
|
||||
} else {
|
||||
/* If not forwarding, don't update opattrs */
|
||||
if ( SLAP_SINGLE_SHADOW( op->o_bd ))
|
||||
op2.orm_no_opattrs = 1;
|
||||
op2.o_bd->bd_info = (BackendInfo *)on->on_info;
|
||||
}
|
||||
rc = op2.o_bd->be_modify( &op2, &r2 );
|
||||
|
Loading…
Reference in New Issue
Block a user