Category:Active Directory
Last Updated:2010-05-19
 
Generally, the sync process is such that the Source directory is the authoritative source for all synced attributes. So, by design, any manual change made to the destination object will be overwritten the next time the sync Modifies the destination object (as you have seen).
Generally we don't recommend you try to circumvent this default behavior...
Having said that, there are two ways to override this default behavior. These options are not very commonly used... You should consider and test these options carefully to make sure they are right for your environment and really give the desired result.
1) Set proxyaddresses as a no-mod-attrib. This will allow the Sync process to set Proxyaddresses when the destination object is initially created. However, if set as a no-mod-attrib, proxyaddresses would NOT be changed on any future Modifies.... Thereby keeping manual destination changes from being overwritten by a future sync.
To do this, add the following line to the config.txt of your connection.
(This should be entered as one long line, no spaces and no carriage returns.)
This value represents the default value... and I have added Proxyaddresses to the list.
(When pasted into config.txt this should appear as one long line, no spaces or carraige returns).
No-Mod-Attribs=proxyaddresses,grouptype,objectclass,instancetype,samaccountname,
userprincipalname,name,cn,msExchHomeServerName,homeMTA,homeMDB,
msexchmasteraccountsid;binary,msexchuseraccountcontrol,useraccountcontrol,pwdlastset
OR
2) Configure proxyaddresses as an AppendMulti attribute. AppendMulti attributes will be forced into "Append mode". Thus the multi-valued attribute will not be replaced as in a normal modification (which overwrites all destination values) but the new unique values assigned during a sync will be appended to the existing ones....Thereby keeping manual destination changes from being overwritten by a future sync.
Note, this means proxyaddresses will never be removed from the destination object by the sync, only added/appended.
To do this, add the following line to the config.txt of your connection.
appendmulti=proxyaddresses