From: Pierangelo Masarati Date: Fri, 19 Apr 2002 18:37:51 +0000 (+0000) Subject: fix ITS#1761 X-Git-Tag: OPENLDAP_REL_ENG_2_0_24~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a631b1985125537a29ef99b63a21fa850dfbfdb;p=thirdparty%2Fopenldap.git fix ITS#1761 --- diff --git a/CHANGES b/CHANGES index 0b203ebb77..e6beb1df3b 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,7 @@ OpenLDAP 2.0.24 Engineering Fixed slapd acl group/dnaddr bug (ITS#1607) Fixed ber_bvstrdup() empty string ("") bug (ITS#1662) Fixed back-ldbm dn normalization bug in onelevel searches (ITS#1654) + Fixed back-ldbm modrdn root dn check (ITS#1761) Documentation Updated release documents diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index eacc4d9ca8..eef4ab413e 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -175,7 +175,7 @@ ldbm_back_modrdn( } else { /* no parent, must be root to modify rdn */ isroot = be_isroot( be, op->o_ndn ); - if ( ! be_isroot ) { + if ( ! isroot ) { if ( be_issuffix( be, "" ) || be_isupdate( be, op->o_ndn ) ) { static const Entry rootp = { NOID, "", "", NULL, NULL }; @@ -296,7 +296,7 @@ ldbm_back_modrdn( isroot = be_isroot( be, op->o_ndn ); } - if ( ! be_isroot ) { + if ( ! isroot ) { if ( be_issuffix( be, "" ) || be_isupdate( be, op->o_ndn ) ) { static const Entry rootp = { NOID, "", "", NULL, NULL };