Directory Wizards Inc.

Solutions For Your Directory Needs

RSS feed
Add to Google


 

Categories

Knowledgebase

Setting legacyexchangedn on synced Exchange 200x contacts

Category:Exchange 200x

Last Updated:2011-11-17

 

Download PDF version

 

The default mapping as of UnitySync v1 requires that your destination Login ID be a Domain Admin.  This allows the legdn root to be detected and the appropriate syntax automatically generated wih the below default mapping:

 

legacyexchangedn=~legacyexchangedn~/cn=Recipients/cn=~smtpname~.~smtphost~

If you do not use a Domain Admin as the destination Login ID, you will receive the error LegacyExchangeDN Failure. You must hard code the desired legdn using a config parameter overide.


To do this, we suggest you manually create an object in the target destination OU.  Then, in ADSI edit, look up the legacyexchangedn value of that manually created object.  For example, it may look like this:

/o=First Organization/ou=Exchange Administrative Group/cn=Recipients/cn=John.Smith

 

Or, using ADSI Edit, go to cn=First Administrative Group and view Properties.  Find the value of 'legacyexchangedn'.

 

Then, again using ADSI Edit, manually set the legacyexchangedn of a problem synced contact.  Attempt a Reply To mail test.  If the test is successful, you have confirmed this format is valid and should fix your problem when applied across all synced contacts.  This customization can be applied in config.txt.

 

i.e

exch-legdn=/o=org/ou=AdministrativeOU

 

This parameter in the Raw Config over rides the Sync phase attempt to auto detect the destination LegDN Roots. Instead, the specified root is inserted as ~legacyexchangedn~.

Perform a Reply To test to verify desired results.