Consider the following scenario. You use Microsoft Exchange
Connector for Lotus Notes to connect a Lotus Notes organization and a Microsoft
Exchange Server 2003 organization. You use Directory Synchronization (DirSync)
services to fully reload a Notes-to-Exchange DirSync process. You experience a
network failure that causes the DirSync process to be interrupted. In this
scenario, some of the Lotus Notes contacts in Active Directory are removed. In
some cases, most of the Lotus Notes contacts are removed.
Additionally, if the Lotus Notes contacts that are removed from
Active Directory also belong to distribution lists, the Lotus Notes contacts
are also removed from the distribution lists.
To work around this problem, you must force a full reload of
the Notes Name and Address book to Active Directory. To do this, right-click
the Connector for Lotus Notes. On the DirSync
tab, click to select the Full Reload from Notes to Exchange
check box.
Before you try to recover the distribution group
membership, you must back up the distribution group by using one of the
following methods:
programmatically
using the Idifde.exe utility
The Idifde.exe utility is included with Microsoft Windows Server
2000. You can use the ldifde.exe utility to export the member attribute of a
distribution group. The member attribute contains the distinguished names of
all the members of the group.
The following is an example of using
the ldifde.exe utility to back up a distribution group.
The export
mode in the ldifde.exe utility is in the following form:
To see the complete syntax of the ldifde.exe utility,
type ldifde.exe at a command prompt.
C:\>ldifde -f dgMember.ldf -d "CN=DG1,OU=Exchange Users,Dc=microsoft,dc=com"
Connecting to "XO2.microsoft.com"
Logging in as current user using SSPI
Exporting directory to file dgMember.ldf
Searching for entries...
Writing out entries.
1 entries exported
The command has completed successfully
Then, type filename.ldf at a command prompt. Now,
the attributes of the distribution group that were entered in the ldifde.exe utility query
appear as in the following example. The attribute of interest is a member. Note
that the member is listed multiple times. This is typical behavior for
multivalued attributes that are exported with the ldifde.exe utility.
Use the ldifde.exe utility to import the modified file to
Active Directory. After you perform this action, the distribution group
membership is restored. The administrator who is running the ldifde.exe
utility must have write permissions to the group object to restore the member
list.
To do this, type the following command at a command prompt:
Ldifde –I
importFileName.ldf
The following code is an example of
the results that you receive after you
use the ldifde.exe utility to import the modified file to Active Directory:
Connecting to "XO2.microsoft.com"
Logging in as current user using SSPI
Importing directory from file "dgMember.ldf"
Loading entries..
1 entry modified successfully.
The command has completed successfully
In this example, the distribution group membership restoration is
completed.