mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 14:10:39 -05:00
ITS#4050 compare normalized DNs when detecting modrdn
This commit is contained in:
parent
a0f6fdb730
commit
024c4bb13f
1 changed files with 4 additions and 3 deletions
|
|
@ -2227,10 +2227,11 @@ dn_callback(
|
|||
* discover if the deleteOldRdn argument applies here. It
|
||||
* would save an unnecessary Modify if we detected it, but
|
||||
* that's a fair amount of trouble to compare the two attr
|
||||
* lists in detail.
|
||||
* lists in detail. (Just test normalized DN; we ignore
|
||||
* insignificant changes here.)
|
||||
*/
|
||||
if ( !dn_match( &rs->sr_entry->e_name,
|
||||
&dni->new_entry->e_name ) )
|
||||
if ( !dn_match( &rs->sr_entry->e_nname,
|
||||
&dni->new_entry->e_nname ) )
|
||||
{
|
||||
dni->renamed = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue