mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
fix ITS#1761
This commit is contained in:
parent
bbfcc82d02
commit
7a631b1985
2 changed files with 3 additions and 2 deletions
1
CHANGES
1
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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue