From: Pierangelo Masarati Date: Tue, 3 Jan 2006 18:07:01 +0000 (+0000) Subject: __should__ fix ITS#4296 X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~473 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e535f8018701cfb5c9dbe820061d9bcbabb017d;p=openldap __should__ fix ITS#4296 --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 1cc4b84832..83161d1772 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1844,7 +1844,12 @@ retry_add:; } op->orr_deleteoldrdn = 0; op->orr_modlist = NULL; + if ( slap_modrdn2mods( op, &rs_modify )) { + ret = 1; + goto done; + } rc = be->be_modrdn( op, &rs_modify ); + slap_mods_free( op->orr_modlist, 1 ); Debug( LDAP_DEBUG_SYNC, "syncrepl_entry: %s (%d)\n", "be_modrdn", rc, 0 );