List the Directory Partitions or the Naming Contexts of an AD LDS Instance or Configuration Set
Updated: August 8, 2008
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 (http://go.microsoft.com/fwlink/?LinkId=83477).
-
Open a Command Prompt.
-
At the command prompt, type the following command, and then press ENTER:
dsmgmt -
At the
dsmgmt:prompt, type the following, and then press ENTER:partition management -
At the
partition management:prompt, type the following, and then press ENTER:connections -
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. -
At the
server connections:prompt, type the following, and then press ENTER:quit -
At the
partition management:prompt, type the following, and then press ENTER:list -
After viewing the list of directory partitions, at the
partition management:prompt, type the following, and then press ENTER:quitand 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 (http://go.microsoft.com/fwlink/?LinkID=122541). |

Note