3.1.1.5.4 Modify DN
References
LDAP control LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID: see section 3.1.1.3.
LDAP Modify DN operation: see [RFC2251] section 4.9.
Concrete structure DRS_MSG_MOVEREQ: see [MS-DRSR] section 4.1.15.1.1.
Concrete structure DRS_MSG_MOVEREQ_V2: see [MS-DRSR] section 4.1.15.1.3.
Concrete structure DRS_SecBufferDesc: see [MS-DRSR] section 5.44.
Concrete structure DRS_MSG_MOVEREPLY: see [MS-DRSR] section 4.1.15.1.4.
Concrete structure DRS_MSG_MOVEREPLY_V2: see [MS-DRSR] section 4.1.15.1.6.
Concrete method IDL_DRSInterDomainMove: see [MS-DRSR] section 4.1.15.
Concrete method IDL_DRSBind: see [MS-DRSR] section 4.1.3.
Function RoleObject: section 3.1.1.5.1.
Function GetWellknownObject: section 3.1.1.1.6.
Kerberos delegation: [MS-KILE].
Glossary terms: global group, config NC, default NC, dsname, NC replica, prefix table, primary group, RID, schema NC, SID, structural class.
Access control rights RIGHT_DELETE, RIGHT_DS_DELETE_CHILD.
LDAP attributes: distinguishedName, groupType, instanceType, isCriticalSystemObject, isDeleted, lDAPDisplayName, member, msDS-NonMembers, name, nCName, objectSid, proxiedObjectName, systemFlags, systemOnly, userAccountControl, wellKnownObjects.
LDAP classes: classSchema, crossRef, infrastructureUpdate.
Constants
Access mask bits: RIGHT_DELETE, RIGHT_DS_DELETE_CHILD: see section 5.1.
GROUP_TYPE_BUILTIN_LOCAL_GROUP, GROUP_TYPE_ACCOUNT_GROUP, GROUP_TYPE_RESOURCE_GROUP, GROUP_TYPE_SECURITY_ENABLED: see section 2.2.12.
ADS_UF_WORKSTATION_TRUST_ACCOUNT, ADS_UF_INTERDOMAIN_TRUST_ACCOUNT: see [MS-DRSR] section 5.206, userAccountControl Bits.
GUID_INFRASTRUCTURE_CONTAINER_W, GUID_SYSTEMS_CONTAINER_W: see section 6.1.1.4.
The Modify DN originating update operation modifies the DN of the object.
The requester supplies the following data:
OldDN: DN of the object that is being modified by the Modify DN operation.
NewRDN: RDN that will form the leftmost component of the new name of the object.
NewParentDN: DN of the object that becomes the immediate superior of the object.
DeleteOldRDN: Boolean value that determines whether the old RDN value is to be retained. True means that the old RDN value MUST NOT be retained.
Let NewDN be the DN of the renamed object. The value NewDN is NewParentDN preceded by NewRDN.
Definitions
Let O be the object such that O!distinguishedName = OldDN.
Let P be O!parent.
If NewParentDN = NULL then NP is O!parent.
Otherwise, let NP be an object such that NP!distinguishedName = NewParentDN.
The originating update is a rename operation if O!name ≠ NewRDN.
The originating update is a move operation if P ≠ NP.