fix ITS#1761

This commit is contained in:
Pierangelo Masarati 2002-04-19 18:37:51 +00:00
parent bbfcc82d02
commit 7a631b1985
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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 };