Can I modify the DN format of objects created in Active Directory (AD)?2020-08-10 12:57:04
AD LDS ADAM Active Directory Custom Mapping Exchange 20xx Features UnitySync
The default DN mapping for creation of a destination AD contact is:
This results is a DN that looks something like this: DN=cn=JSmith@domain.com,ou=SyncContainer,dc=domain,dc=com
IMPORTANT NOTE: When viewing an object created by UnitySync with this default mapping in AD Users and Computers (U&C), the Name column matches the CN value in the DN. This Name value should not be confused with the
displayname attribute which is seen in the Global Address List (GAL). If you want to see
displayname in AD U&C, select the Displayname column to be viewed.
This default value for CN is preferred because the
displayname (or any name part combination). If you have duplicate name values (i.e. John Smith), subsequent objects with the same name won’t sync, and instead will throw a Duplicate DN error instead. Therefore, using the default DN mapping is strongly recommended.
Having said that, if you really must, UnitySync is highly configurable and you do have the ability to customize the DN mapping to use a different attribute even though it is not recommended.
Create a custom OBJECT mapfile and modify the first line, which is the DN mapping. For example:
In this example, the value of ~cn~ is the displayname value in the format selected on the Display Name tab of the UnitySync User Interface (UI). Any value surrounded by tilde’s refers to a value generated at sync time. If you have a different need for a custom DN mapping, or further questions about this or any other custom mapping, please forward your custom map file as well as your latest high level Sync or Sim logs (3-Detailed preferred) to email@example.com.
Custom map files are located in \C:\UnitySync-v2.x\Global\Map\Custom. Logs are located in \UnitySync-v2.x\Connections\YourConnectionName\Log.