Partager via


List the Directory Partitions or the Naming Contexts of an AD LDS Instance or Configuration Set

Applies To: Windows Server 2008

You can use this procedure and the Dsmgmt general Active Directory Lightweight Directory Services (AD LDS) management tool, to list all the directory partitions or naming contexts of an AD LDS instance or a configuration set.

Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).

To list the directory partitions of an AD LDS instance or configuration set

  1. Open a Command Prompt.

  2. At the command prompt, type the following command, and then press ENTER:

    dsmgmt

  3. At the dsmgmt: prompt, type the following, and then press ENTER:

    partition management

  4. At the partition management: prompt, type the following, and then press ENTER:

    connections

  5. At the server connections: prompt, type the following command, and then press ENTER:

    connect to server <computername>:<portnumber>

    Where <computername> is the computer on which the Active Directory Application Mode (ADAM) instance is running and <portnumber> is the Lightweight Directory Access Protocol (LDAP) or Secure Sockets Layer (SSL) communications port that the ADAM instance uses.

  6. At the server connections: prompt, type the following, and then press ENTER:

    quit

  7. At the partition management: prompt, type the following, and then press ENTER:

    list

  8. After viewing the list of directory partitions, at the partition management: prompt, type the following, and then press ENTER:

    quit

    and then, at the dsmgmt: prompt, type the following, and then press ENTER:

    quit

Note

For help with dsmgmt, type ? at a dsmgmt prompt. For more information, see Dsmgmt (https://go.microsoft.com/fwlink/?LinkID=122541).