From: Howard Chu Date: Tue, 15 Apr 2003 01:13:28 +0000 (+0000) Subject: Fix for modrdn retries X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~363 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d28bdf9cc27dac517cbc0f3f96005ab63d26ab9d;p=openldap Fix for modrdn retries --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 0d188d626e..0ac22ed9d0 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -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; }