From d28bdf9cc27dac517cbc0f3f96005ab63d26ab9d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 15 Apr 2003 01:13:28 +0000 Subject: [PATCH] Fix for modrdn retries --- servers/slapd/back-bdb/modify.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.5