From 7e535f8018701cfb5c9dbe820061d9bcbabb017d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 3 Jan 2006 18:07:01 +0000 Subject: [PATCH] __should__ fix ITS#4296 --- servers/slapd/syncrepl.c | 5 +++++ 1 file changed, 5 insertions(+) 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 ); -- 2.39.5