From: Pierangelo Masarati Date: Sat, 7 Jul 2001 15:40:25 +0000 (+0000) Subject: If add to "" is allowed, also modrdn should X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1247 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2baa2f0f24524ca2b188146ba4374837fd841f24;p=openldap If add to "" is allowed, also modrdn should --- 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",