]> git.sur5r.net Git - openldap/commitdiff
Fix for modrdn retries
authorHoward Chu <hyc@openldap.org>
Tue, 15 Apr 2003 01:13:28 +0000 (01:13 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 15 Apr 2003 01:13:28 +0000 (01:13 +0000)
servers/slapd/back-bdb/modify.c

index 0d188d626eedb8cb987fd6a4704616044d1c6f3f..0ac22ed9d09c7df3fbfb6d0bdf5c521f875ee7a7 100644 (file)
@@ -122,6 +122,9 @@ int bdb_modify_internal(
 
                        err = modify_add_values( e, mod, get_permissiveModify(op),
                                text, textbuf, textlen );
+
+                       mod->sm_op = SLAP_MOD_SOFTADD;
+
                        if ( err == LDAP_TYPE_OR_VALUE_EXISTS ) {
                                err = LDAP_SUCCESS;
                        }