]> git.sur5r.net Git - openldap/commitdiff
ITS#5376 modifies need to be permissive due to refresh/fallback sync
authorHoward Chu <hyc@openldap.org>
Wed, 13 Feb 2008 07:09:18 +0000 (07:09 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 13 Feb 2008 07:09:18 +0000 (07:09 +0000)
servers/slapd/syncrepl.c

index 3928454aa17898ab14ead83a184ec4283161974f..65b86479bec84c02dc41c4f0e63b23279c52eb24 100644 (file)
@@ -1578,7 +1578,9 @@ syncrepl_message_to_op(
                } else {
                        op->orm_modlist = modlist;
                        op->o_bd = si->si_wbe;
+                       op->o_permissive_modify = SLAP_CONTROL_NONCRITICAL;
                        rc = op->o_bd->be_modify( op, &rs );
+                       op->o_permissive_modify = SLAP_CONTROL_NONE;
                        modlist = op->orm_modlist;
                        Debug( rc ? LDAP_DEBUG_ANY : LDAP_DEBUG_SYNC,
                                "syncrepl_message_to_op: %s be_modify %s (%d)\n",