mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
Previously added modrdn restriction to restrictive. Need to
check newSuperior.
This commit is contained in:
parent
c2c7ccc228
commit
da0e6d3d98
1 changed files with 3 additions and 1 deletions
|
|
@ -478,7 +478,9 @@ ldbm_back_modrdn(
|
|||
goto return_results;
|
||||
}
|
||||
|
||||
if ( strcasecmp( old_rdn_type, new_rdn_type ) != 0 ) {
|
||||
if ( newSuperior == NULL
|
||||
&& strcasecmp( old_rdn_type, new_rdn_type ) != 0 )
|
||||
{
|
||||
/* Not a big deal but we may say something */
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "backend", LDAP_LEVEL_INFO,
|
||||
|
|
|
|||
Loading…
Reference in a new issue