Previously added modrdn restriction to restrictive. Need to

check newSuperior.
This commit is contained in:
Kurt Zeilenga 2001-04-19 19:29:00 +00:00
parent c2c7ccc228
commit da0e6d3d98

View file

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