Microsoft KB Archive/188593

= How to Identify Naming Contexts on a Domain Controller =

PSS ID Number: 188593

Article Last Modified on 10/10/2002

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional

-



This article was previously published under Q188593



SUMMARY
This article describes how to use the Active Directory Services Viewer (Adsvw.exe) tool to determine for which naming contexts a server is responsible.

A naming context is a contiguous subtree of the Active Directory and is also a unit of replication. For example, the classes and attributes that make up the schema (which defines the objects that can be created in the directory) exist in a separate naming context than that of the actual directory objects in the domain.



MORE INFORMATION
To navigate to the location that stores naming context information, use the following steps:

 Log on using an account with administrator privileges, and then start the Adsvw tool. To start the Adsvw tool, click Start, click Run, type "adsvw.exe" (without quotation marks) in the Open box, and then click OK. On the File menu, click New, click ObjectViewer, and then click OK. In the Enter Ads Path box, use the format: "LDAP://cn=Configuration," followed by the domain name using the format "dc= ,dc= " where is the name of the root domain of the Active Directory forest. For example, to browse the root domain "mydomain.com," type the following line:

LDAP://cn=Configuration,dc=mydomain,dc=com

NOTE: You must type "LDAP" in uppercase, as shown in this example. Click the Use OpenObject check box to clear it, and then click OK. Click the "CN=Configuration" object to select it, and then click again to expand it. Click the "CN=Sites" object to select it, and then click again to expand it. Click the appropriate site to select it, and then click again to expand it. By default, the site is called FirstSite.</li> Click the "CN=Servers" object to select it, and then click again to expand it.</li> Click the server object for which you want to determine the naming contexts to select it, and then then click again to expand it.</li> Click the "CN=NTDS Settings" object to select it for the selected server</li> Use the appropriate step:

<ol style="list-style-type: lower-alpha;"> To determine the read-only naming contexts on the domain controller, click HasPartialReplicaNCs in the Properties box.

NOTE: The HasPartialReplicaNCs property may not contain any data if there is only one domain in the enterprise.

The Property Value box displays the Active Directory path(s) to the naming contexts. If more than one naming context is listed, the contexts are separated by a number sign (#). If the result is "E_ADS_PROPERTY_NOTFOUND," a naming context is not present for the specified type.</li> To determine the read/write naming contexts on the domain controller, click HasMasterNCs in the Properties box (the server is authoritative for the NC). The Property Value box displays the Active Directory path(s) to the naming contexts. If more than one naming context is listed, the contexts are separated by a number sign (#). If the result is "E_ADS_PROPERTY_NOTFOUND," a naming context is not present for the specified type.</li></ol> </li></ol>

Additional query words: 5.00

Keywords: kbenv kbinfo KB188593

Technology: kbwin2000Pro kbwin2000ProSearch kbwin2000Search kbwin2000Serv kbwin2000ServSearch

-

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

© 2003 Microsoft Corporation. All rights reserved.