| Add this distinguished name information to the Notepad file and format the information as such, for example:
dn: CN=Peter Connelly,CN=Users,DC=domain,DC=com
changetype: modify
replace: proxyAddresses
proxyAddresses: CCMAIL:Connelly, Peter at SITE
proxyAddresses: NOTES:Peter Connelly/SITE/Organization@Exchange
proxyAddresses: GWISE:Exchange.SITE.peterco
proxyAddresses: SMTP:peterco@domain.com
proxyAddresses: X400:c=US;a= ;p=Organization;o=SITE;s=Connelly;g=Peter;
proxyAddresses: MS:ORGANIZATI/SITE/PETERCO
-
NOTE: Even if you want to change only one proxy address, you must keep the other addresses listed, or they will be removed. This
configuration is set to modify as a replacement of the proxyaddresses attribute.
The hyphen at the end of the file is necessary, so that Ldifde knows when the import operation is complete and does not need to continue. Without this hyphen, you may receive an error message that is similar to:
Connecting to "DCservername.domain.com"
Logging in as current user using SSPI
Importing directory from file "IMPORT.LDF"
Loading entries.
There is a syntax error in the input file
Failed on token starting with 'M' on line 0
0 entries modified successfully.
An error has occurred in the program
The following example is a proxy address change that uses the same sample information as the preceding steps. The Import.ldf file contains the following information:
dn: CN=Peter Connelly,CN=Users,DC=domain,DC=com
changetype: modify
replace: proxyAddresses
proxyAddresses: CCMAIL:Connelly, Peter at SITE
proxyAddresses: NOTES:Peter Connelly/SITE/Organization@Exchange
proxyAddresses: GWISE:Exchange.SITE.peterco
proxyAddresses: SMTP:peter.connelly@domain.com
proxyAddresses: X400:c=US;a= ;p=Organization;o=SITE;s=Connelly;g=Peter;
proxyAddresses: MS:ORGANIZATI/SITE/PETERCO
-
The only item that is changed is the SMTP address; however, all of the other proxy addresses must be listed. |