]> git.sur5r.net Git - openldap/commitdiff
Need SOFTADD fix for previous fix
authorKurt Zeilenga <kurt@openldap.org>
Fri, 17 Mar 2000 18:31:40 +0000 (18:31 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 17 Mar 2000 18:31:40 +0000 (18:31 +0000)
servers/slapd/back-ldbm/modify.c

index 28cdb92ee108dc58e20628f909e1189321883e73..4da7301032ce91cdbfe6aa23b1708903b8582a1c 100644 (file)
@@ -79,14 +79,9 @@ int ldbm_modify_internal(
                        mod->mod_op = LDAP_MOD_ADD;
 #endif
                        err = add_values( e, mod, op->o_ndn );
+
                        if ( err == LDAP_TYPE_OR_VALUE_EXISTS ) {
                                err = LDAP_SUCCESS;
-#ifdef SLAPD_SCHEMA_NOT_COMPAT
-                               mod->sm_op = SLAP_MOD_SOFTADD;
-#else
-                               mod->mod_op = SLAP_MOD_SOFTADD;
-#endif
                        }
                        break;
                }