Setting showInAddressBook for synced objects

Created: 2012-04-20 08:09:59
Modified: 2023-03-14 12:47:39
Tags: Active Directory Custom Mapping Troubleshooting UnitySync

You can set showInAddressBook for each synced object using a custom mapping .

You will need the DN of the addressBook(s). For multiple addressBooks, insert multiple showInAddressBook mapping lines.

Option 1

If your Destination tab login is Domain Admin, you may use the address variables to set showinaddressbook . Domain Admin is required for this option to read the addressBook roots. UnitySync includes these mappings by default. These mappings allow your sync to automatically stamp values for All Contacts and Default Global Address List addressBooks.

showinaddressbook=cn=All Contacts,~addressbookroots~ showinaddressbook=~globaladdresslist~

If all you need is the default lists noted above, test your sync and you should find your newly created contacts appear in the addressBooks as desired.

Option 2

If your Destination tab login does not use a Domain Admin, or your first test sync indicates the detected addressBooks are not valid or desired, you may hard code the showInAddressBook using custom mappings.

To do this, you will need to know your local CN and DC tree. The below example uses
cn=dirwiz
DC=dir,DC=domain,DC=com.

If you don’t know these values for your addressbooks, open ADSI Edit and drill down under the Configurations tree to identify the values.

Note: If the Configurations tree is not visible, you can turn on the connection to show it

Custom mappings may also be used to stamp additional showInAddressBook values.

  • Create a custom map file.
  • Locate the default mappings noted above.
  • The following is an example of a custom mapping that manually sets two (2) addressbook settings. Each showInAddressbook line should appear in the map file as all one line, no carriage returns.
  • Note, you can remove the default showinaddressbook mappings depending on your needs. (The first two below are included in the default map file).

showInAddressBook=CN=All Contacts,CN=All Address Lists,CN=Address Lists Container,CN=DirWiz,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=dir,DC=domain,DC=com

showInAddressBook=CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=DirWiz,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=dir,DC=Domain,DC=com

showInAddressBook=CN=Your Desired Addresslist,CN=All Global Address Lists,CN=Address Lists Container,CN=DirWiz,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=dir,DC=Domain,DC=com

  • You may add as many showInAddressBook values as you need. Each mapping must indicate a valid addressBook.

  • If your connection is configured to use List Processing to sync Groups as groups (Destination tab) then you also need to create a custom LIST map (custom map tab) and add the same custom showInAddressBook mappings.

Share this article:
Knowledgebase

Directory
  1. Directify - Self Service

  2. Mimic - Replication

  3. UnitySync - Sync
Password
  1. emPass - Sync
Obsolete
  1. Profiler
  2. SimpleSync