Microsoft KB Archive/303972

= How to grant the &quot;Replicating Directory Changes&quot; permission for the Microsoft Metadirectory Services ADMA service account =

Article ID: 303972

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Identity Integration Feature Pack for Microsoft Windows Server Active Directory
 * Microsoft Identity Integration Server 2003 Enterprise Edition

-



This article was previously published under Q303972



SUMMARY
When discovering objects in Active Directory using the Active Directory management agent (ADMA), the account that is specified for connecting to Active Directory must either have Domain Administrative permissions, belong to the Domain Administrators group, or be explicitly granted Replicating Directory Changes permissions for every domain of the forest that this management agent accesses. This article describes how to explicitly a grant a user account the Replicating Directory Changes permissions on a domain.

Note In Windows Server 2003, the name of this permission changed to &quot;Replicate Directory Changes.&quot;



MORE INFORMATION
The Replicating Directory Changes permission, known as the Replicate Directory Changes permission in Windows Server 2003, is an Access Control Entry (ACE) on each domain naming context. You can assign this permission by using the ACL editor or the Adsiedit support tool in Windows 2000.

Setting permissions by using the ACL editor

 * 1) Open the Active Directory Users and Computers snap-in
 * 2) On the View menu, click Advanced Features.
 * 3) Right-click the domain object, such as &quot;company.com&quot;, and then click Properties.
 * 4) On the Security tab, if the desired user account is not listed, click Add; if the desired user account is listed, proceed to step 7.
 * 5) In the Select Users, Computers, or Groups dialog box, select the desired user account, and then click Add.
 * 6) Click OK to return to the Properties dialog box.
 * 7) Click the desired user account.
 * 8) Click to select the Replicating Directory Changes check box from the list.
 * 9) Click Apply, and then click OK.
 * 10) Close the snap-in.

Setting permissions by using Adsiedit
Warning Using Adsiedit 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 Adsiedit can be solved. Use Adsiedit at your own risk.  Install the Windows 2000 Support tools if they have not already been installed. For more information about how to install the Windows 2000 Support Tools, click the following article number to view the article in the Microsoft Knowledge Base:

301423 How to install the Windows 2000 Support Tools to a Windows 2000 Server-based computer

 Run Adsiedit.msc as an administrator of the domain. Expand the Domain Naming Context (Domain NC) node. This node contains an object that begins with &quot;DC=&quot; and reflects the correct domain name. Right-click this object, and then click Properties. Click the Security tab. If the desired user account is not listed, click Add, otherwise proceed to step 8. In the Select Users, Computers, or Groups dialog box, select the desired user account, and then click Add. Click OK to return to the Properties dialog box. Click Apply, and then click OK.</li> Select the desired user account</li> Click to select the Replicating Directory Changes check box.</li> Click Apply, and then click OK.</li> Close the snap-in.</li></ol>

Note Using either method, setting the Replicating Directory Changes permission for each domain within your forest enables the discovery of objects in the domain within the Active Directory forest. However, enabling discovery of the connected directory does not imply that other operations can be performed.

To create, modify, and delete objects within Active Directory using a non-administrative account, you may need to add additional permissions as appropriate. For example, for Microsoft Metadirectory Services (MMS) to create new user objects in an Organizational Unit (OU) or container, the account that is being used must be explicitly granted the Create All Child Objects permission, as the Replicating Directory Changes permission is not sufficient to allow the creation of objects.

In a similar fashion, the deletion of objects requires the Delete All Child Objects permission.

It is possible that there are limitations on other operations, such as attribute flow, depending on the specific security settings that are assigned to the object in question, and whether or not inheritance is a factor.

Additional query words: zoomit Replicate Permissions Discover &quot;Replication Access Was Denied&quot; 8453 Failed-Search Active Directory Management Agent ADMA DS-Replication-Get-Changes SE_SYNC_AGENT_NAME GalSync Gal Synchronization

Keywords: kbhowto kbenv KB303972

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.