Dsamain Command In Windows Server 2008
This article explains the command Dsamain in Windows Server 2008 operating system and syntax related with it.
Introduction
Dsamain command in Windows Server 2008 is used to exposes active directory data that is stored in a snapshot or backup as a lightweight directory access protocol server. User can stop the Dsamain command by pressing the CTRL+C in a command prompt window. Syntax for Dsamain command is given below.
Syntax
dsamain /dbpath <filepath> [/logpath <path>] [/adlds] /ldapPort <number> [/sslPort <number>] [/gcport <number>] [gcSslport <number>] [/allowUpgrade] [/allowNonAdminAccess]
|
Parameters For Dsamain
Parameter |
Description |
/dbpath <filepath> |
Defines the file path to the database file. |
/logpath <path> |
Defines the path to a writable folder where the log files are created. |
/adlds |
Opens an AD LDS database. |
/ldapPort <number> |
Defines the LDAP port value. |
/sslPort <number> |
Defines the Secure Sockets Layer (SSL) port value. |
/gcport <number> |
Defines the global catalog port number. |
/gcsslport:<number> |
Defines the global catalog SSL port number. |
/allowNonAdminAccess |
Allows nonadministrators to access data in the directory. |
/allowupgrade |
Allows an upgrade to the database file. |
Help |
Shows Help for this command |
quit |
Returns to the prior menu. |
? |
Shows help at the command prompt. |
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here