From 2baa2f0f24524ca2b188146ba4374837fd841f24 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 7 Jul 2001 15:40:25 +0000 Subject: [PATCH] If add to "" is allowed, also modrdn should --- servers/slapd/back-ldbm/modrdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index 89207e7061..fcdc66e18c 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -220,7 +220,7 @@ ldbm_back_modrdn( } else { /* no parent, modrdn entry directly under root */ - if( ! be_isroot( be, op->o_ndn ) ) { + if( ! be_isroot( be, op->o_ndn ) && ! be_issuffix( be, "" ) ) { #ifdef NEW_LOGGING LDAP_LOG(( "backend", LDAP_LEVEL_INFO, "ldbm_back_modrdn: (%s) no parent & not a root.\n", -- 2.39.5