Make new dn by splitting the old DN
set this value to identity
set the $CN to old CN and $path to new path
checkin .. That should work
navrsale wrote:What I described is the specific behavior of Active Directory. In the default configuration of AD the DN is always constructed by using the Common Name (CN) attribute.
Both propositions seem to be logical: if it was not possible to rename attributes like CN independently then why are there two ways to rename (through template and by overriding the template)? Isn't the purpose of overriding exactly that, to "break" the default behavior?
The other proposition is also logical: DN is always derived from CN. But then Renaming is different operation than ordinary update. Thus maybe through Renaming it is possible to independently set CN and DN