You are currently offline, waiting for your internet to reconnect

HOW TO: Enumerate Attributes Replicated to the Global Catalog

This article was previously published under Q230663
This step-by-step article describes how to enumerate attributes replicated in the Global catalog.To obtain information about all of the objects in a Windows 2000 enterprise, query the global catalog. The global catalog consists of all objects in every domain in the enterprise. However, only selected attributes are replicated to the Global Catalog for each object.

To enumerate the attributes which are replicated to the Global Catalog, bind to the schema container and use the following LDAP filter:
back to the top

Query Active Directory

To query the active directory enumerating attributes that are replicated to the Global Catalog, use the Ldp.exe tool in the Microsoft Windows 2000 Resource Kit. To do this, follow these steps:
  1. Open the Ldp.exe tool.
  2. Click Options, click General, type 9999 in the Page Size box, and then click OK.
  3. Click Connection, and then click Bind.
  4. Note the output of LDP schemaNamingContext to determine the schema's Distinguished Name. The LDP schemaNamingContext uses the following context:
  5. On the Browse menu, click Search.
  6. Paste the value of schemaNamingContext into the Base DN box.
  7. Paste the following filter into the Filter Box:
  8. Under Scope, click Subtree.
  9. Click Options.
  10. Type the attributes you want, using the following syntax:
  11. On the Search Options box, click OK.
  12. Click Run to execute the query.
back to the top back to the top
For additional information about LDAP, please see the following articles in the Microsoft Knowledge Base:
224543 Using Ldp.exe to Find Data in the Active Directory
221606 Common LDAP RFCs

Article ID: 230663 - Last Review: 02/23/2007 18:52:15 - Revision: 2.3

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • kbhowto kbhowtomaster kbnetwork KB230663