Creating One-To-Many Sync connections - single Source and multiple Destinations

Created: 2012-04-20 08:09:59
Modified: 2023-12-05 13:03:56
Tags: LDIF UnitySync

The one-to-many sync process supported in UnitySync allows you to use a connection to read your Source one time, in order to generate an ldif.txt file. Then, multiple other connections use that single ldif.txt as a Source when writing to their varying Destinations. We recommend the following when you are setting up one-to-many Syncs.

Create an ldap-ldif connection to run Discovery and build the ldif.txt:

  1. When creating this connection, select the appropriate Source Map / Engine Template for your Source.
  2. Select a Destination Sync Engine of LDIF and select a Destination Map Template that represents the directory and attribute set you want in your ldif.txt (i.e., if you want mail attributes, be sure to select a mail enabled template)
  3. When you run the Discovery for this connection, it will produce an ldif.txt file.
  4. You should not need to run the Sync phase in this connection unless you want to use Custom Mapping when generating the ldif.txt.

Create two or more ldif-ldap connections that use the above ldif.txt file as a Source

  1. When creating this connection, select the Source Map Template that matches the directory type you specified as the Destination Map Template in step 1, above.
  2. Select a Source Sync Engine of LDIF.
  3. Select your Destination Sync Engine and Map Template as appropriate for the Destination you are syncing to in this connection.
  4. On the General tab, complete the fields in the LDIF (Optional) section at the bottom of the tab.
    • Enter the FQDN of the read location
    • Enter the Encryption password, if applicable
  5. When you run the ldif-ldap sync, this ldif.txt file will be used as the Source.
  6. When automating this type of configuration (as in , it would look like the below example. This performs one read of the source and then as many writes as you need to sync to all your destination directories.
shell --conn "ldap-ldif connection"
shell --conn "ldif-ldap 1"
shell --conn "ldif-ldap 2"
Share this article:

  1. Directify - Self Service

  2. Mimic - Replication

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