Directory Wizards Inc.

Solutions For Your Directory Needs

RSS feed
Add to Google


 

Categories

Knowledgebase

Advanced Create/Join

Category:Active Directory

Last Updated:2011-08-03

 

Download PDF version

 

Join and Create/Join Rules:

There are two methods available for implementing a Join with Existing Objects.

Only one of these options may be used in a connection.
 

  1. Joins based on single Source Index and Dest Index attribute

    OR
     
  2. Joins based on an Advanced Join Query. This option allows ldap query logic to be specified in order to compare multiple values to identify objects to match.

 

Source Index and Destination Index: To utilize the Source/Dest Index Join functionality, you must identify an index attribute on both the source and destination directories. These attributes must contain unique values which UnitySync will use to identify matching objects between the source and destination directories. Most commonly used Index attributes are mail/mail. See 'Important Notes' below for Index attribute requirements.

Advanced Join: To utilize the Source/Dest Advanced Join functionality, you must enter a valid LDAP query. This query may compare one or more source attribute values to one or more destination attribute values. Query on proxyaddresses.

Advanced Join Example:
A common use of this feature is to compare the source object's primary email address to the destination object's primary email address AND its ProxyAddresses, allowing a Join to match on existing objects if the email address is found in either attribute.

Ex200x to Ex200x examples:
OneSource-to-ManyDest join query syntax:
(|(mail=^mail^)(proxyaddresses=smtp:^mail^))
Translation: (Dest mail = Source mail) OR (Dest Mail = source Proxyaddresses)

Many to many Join query syntax:
(proxyaddresses=[proxyaddresses])
Translation: (Dest proxyaddresses = source Proxyaddresses)
 

ManySource to OneDest Join Query syntax:
(mail=[allmail])
Translation: (Dest Mail = source Proxyaddresses)


Query on displayname AND primary mail address

(multiple one to one query):
E2k-to-E2k sync example: (&(mail=^mail^)(displayname=^displayname^))
Translation: (Dest Mail = source mail AND dest displayname = source displaname)


Important Notes about Joining With Existing Objects

For more info, refer to the  Join With Existing Destination Objects  topic of the UnitySync Help File.