Microsoft KB Archive/262212

{|
 * width="100%"|

XADM: How to Set Up the ADC Connection Agreement

 * }

ID: Q262212

-

The information in this article applies to:


 * Microsoft Exchange 2000 Server

-

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the &quot;Restoring the Registry&quot; Help topic in Regedit.exe or the &quot;Restoring a Registry Key&quot; Help topic in Regedt32.exe.

SUMMARY
This article describes how to set up and configure the Active Directory Connector (ADC) Connection Agreement between a Microsoft Windows 2000-based server and a Microsoft Windows 2000-based server that is running Microsoft Exchange Server 2000. This article covers:


 * System requirements
 * How to install the ADC
 * How to configure the Connection Agreement
 * How to configure the ADC
 * How to create users in Windows 2000 and Exchange 2000

Hardware
Microsoft Windows 2000 Server-based computer


 * Pentium 166 or faster
 * 128 megabytes (MB) RAM
 * 1 gigabyte (GB) of available hard disk space

Exchange 2000 Server computer


 * Pentium 133 or faster
 * 64 MB RAM
 * 500 MB of available hard disk space

Software

 * Windows 2000 Server
 * Exchange 2000 Server

How to Install the ADC

 * 1) On the Windows 2000-based server, run Setup from drive:\\Adc\Setup.exe, where drive is the letter of your CD-ROM drive.
 * 2) On the Welcome page, click Next.
 * 3) Click to select both the Microsoft Active Directory Connector Service component check box and the Microsoft Active Directory Connector Management components check box, and then click Next.
 * 4) Specify the location where you want to install the ADC, and then click Next.
 * 5) Specify the name and password of the service account that will run the ADC, and then click Next.
 * 6) Setup installs the services and modifies the registry. When Setup is finished, click Finish.

How to Configure the Connection Agreement
On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Connector Management.

Right-click Active Directory Connector, point to New, and then click Connection Agreement.

On the General tab:

 Enter the name of the Connection Agreement in the Replication Direction box. Click the Two-way option. Click OK when you receive the following message: Select the Active Directory Connector service that you want.

NOTE: If this is the first installation, there will only be one service available to select.

On the Connections tab:

Under Windows Server Information:

Verify that:


 * The Server field contains the name of your Windows 2000-based server.
 * Authentication defaults to &quot;Windows Challenge/Response&quot;.
 * The account that you are using has write permissions to the directory because this is a two-way agreement, and read and write permissions are necessary.

Set the Connect as field to &quot;Modify&quot;.

Under Exchange Server Information:

Verify that:


 * The Server field contains the name of your Exchange 2000 server.
 * Authentication defaults to &quot;Windows Challenge/Response&quot;.
 * The account that you are using has write permissions to the directory because this is a two-way agreement, and read and write permissions are necessary.

Set the Connect as field to &quot;Modify&quot;.

On the Schedule tab:

Set Replication time to &quot;Always&quot;.

NOTE: The ADC automatically replicates all objects on the first replication cycle, so selecting the Replicate the entire directory the next time the agreement is run check box will not affect the first replication cycle. On the From Exchange tab:

 In the Exchange Recipients containers, click Add, and then add the Recipients container from your Exchange 2000 server. In the Default destination box, click Modify, and then click the appropriate Users container. Verify that all objects in the Select the objects that you want to replicate box are selected (default).</li></ol>

On the From Windows tab:

 In the Windows organizational units box, click Add, and then add the Users container.</li> In the Default destination box, click Modify, and then click the appropriate Recipients container.</li> Verify that all objects in the Select the objects that you want to replicate box are selected (default).</li></ol>

How to Change the Replication Time or to Force Replication
When you schedule replication in the ADC Connection Agreement, the setting of &quot;Always&quot; means replication will take place every five minutes. If you want replication to occur more frequently, you can add a parameter to the ADC by means of the Windows registry. You may want replication to occur more frequently.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the &quot;Changing Keys and Values&quot; Help topic in Registry Editor (Regedit.exe) or the &quot;Add and Delete Information in the Registry&quot; and &quot;Edit Registry Data&quot; Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD).


 * 1) On the Windows 2000-based server, start the Active Directory Connector Manager Microsoft Management Console (MMC) snap-in.
 * 2) Right-click the Connection Agreement, and then click Replicate Now.

NOTE: This forces replication to occur outside of the scheduled replication cycle.
 * 1) On the Start menu, click Run.
 * 2) In the Open box, type regedit.
 * 3) Locate the following key in the registry:
 * 4) On the Edit menu, click Add Value, and then add the following registry value:
 * 5) On the Registry menu, click Exit.
 * 6) On the Start menu, point to Programs, point to Administrative Tools, and then click Component Services.
 * 7) Right-click Microsoft Active Directory Connector Service.
 * 8) Click Restart. Replication will now take place every five seconds.
 * 9) On the Console menu, click Exit.

How to Create Users for Windows 2000 and Exchange 2000
You may want to create a user in Windows 2000 and Exchange 2000 so that when you log on as that user, you can gain access to the services provided by Windows 2000 and Exchange 2000. There are three ways to create a new user:


 * Create the same user in Windows 2000 and Exchange 2000 independently
 * Create a new Windows 2000-Exchange 2000 user in Windows 2000
 * Create a new Windows 2000-Exchange 2000 user in Exchange 2000

How to Create the Same User in Windows 2000 and Exchange 2000 Independently
When you use this method to create a new user, you create a user once in Windows 2000, and then create a user with the same properties in Exchange 2000.

To create a new user on the Windows 2000-based server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Right-click Users.
 * 3) Fill in the First name, Last name, and User logon name boxes, and then click Next.
 * 4) Click Next.
 * 5) Click to clear the Create an Exchange mailbox check box, and then click Next.
 * 6) Click Finish.

To create a new user on the Exchange 2000 server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click System Manager.
 * 2) Click the Recipients container.
 * 3) On the File menu, click New Mailbox.
 * 4) Fill in the First name, Last name, and Alias name boxes the same as you did for the Windows 2000 user.
 * 5) Click to select Primary Windows 2000 Account, and then click OK. (The Select an existing Windows 2000 account option is the default.)
 * 6) Click the user that you created in Windows 2000.
 * 7) Click Add, and then click OK.

On the Windows 2000 server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Double-click the new user, and then click the Exchange tab. The properties of the Exchange General tab show you that the Exchange user is now tied to the Windows 2000 user. Now when changes are made to the user from Windows 2000 or from Exchange, those changes will be replicated to the other directory.

How to Create a Windows 2000-Exchange 2000 User in Windows 2000
On the Windows 2000 Server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Right-click Users, point to New, and then click User.
 * 3) Fill in the First name, Last name, and User logon name boxes, and then click Next.
 * 4) Click Next.
 * 5) Click to select the Create an Exchange mailbox check box if it is not already selected.
 * 6) The Server setting should list your Exchange server; click Next.
 * 7) Click Finish.
 * 8) Double-click the new user, and then click the Exchange tab. The properties of the Exchange General tab show you that the Exchange user is now tied to the Windows 2000 user. Now when changes are made to the user from Windows 2000 or from Exchange, those changes will be replicated to the other directory.

How to Create a Windows 2000-Exchange 2000 User in Exchange 2000
When you use this method to create a new user in Exchange 2000, the user's properties are the same in both Windows 2000 and Exchange 2000.

On the Exchange 2000 server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Right-click Users, point to New, and then click User.
 * 3) Fill in the First name, Last name, and Alias name boxes, and then click Next.
 * 4) Click Next.
 * 5) Click to select the Primary Windows 2000 Account check box, and then click OK. (The Select an existing Windows 2000 account option is the default.)
 * 6) Click to select the Create a new Windows 2000 account check box.
 * 7) Click OK four times.

On the Windows 2000-based server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Double-click the new user, and then click the Exchange tab. The properties of the Exchange General tab show you that the Exchange user is now tied to the Windows 2000 user. Now when changes are made to the user from Windows 2000 or from Exchange, those changes will be replicated to the other directory.

Modify Attributes on an Exchange user
On the Exchange 2000 server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click System Manager.
 * 2) Click Recipients.
 * 3) Double-click one of the users that you created in the previous task.
 * 4) Fill in the Telephone box, and then click OK.

On the Windows 2000 server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Double-click on the same user that you just edited in Exchange.
 * 3) Notice that the Telephone field has replicated to Active Directory.

How to Modify Attributes on a Windows 2000 User
On the Windows 2000 server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Click Users.
 * 3) Double-click one of the users that you created in the previous task.
 * 4) Fill in the Office box, and then click OK.

On the Exchange 2000 server:


 * 1) On the Start menu, point to Programs, point to Administrative Tools, and then click System Manager.
 * 2) Click Recipients.
 * 3) Double-click the same user that you just edited in Windows 2000.
 * 4) Notice that the Office field replicated to the Exchange 2000 directory.

Additional query words: x2kadcht

Keywords :

Version : winnt:

Platform :

Issue type : kbhowto

Technology :