ITS#6608 don't update mod opattrs on single-master slaves

This commit is contained in:
Howard Chu 2010-07-28 02:43:21 +00:00
parent 7e7f24f13f
commit 9434a7d676

View File

@ -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 );