| | |
| | | </refnamediv> |
| | | <refsynopsisdiv> |
| | | <cmdsynopsis> |
| | | <command>dsconfig <replaceable>subcommand</replaceable></command> |
| | | <arg choice="req">options</arg> |
| | | <command>dsconfig [<replaceable>subcommand</replaceable>]</command> |
| | | <arg choice="opt">options</arg> |
| | | </cmdsynopsis> |
| | | </refsynopsisdiv> |
| | | <refsect1> |
| | |
| | | the JVM and setting up a new connection for each command.</para> |
| | | |
| | | <para>The <command>dsconfig</command> command categorizes directory server |
| | | configuration by <firstterm>components</firstterm>, also called |
| | | configuration into <firstterm>components</firstterm>, also called |
| | | <firstterm>managed objects</firstterm>. Actual components often inherit from |
| | | a parent component type. For example, one component is a Connection Handler. |
| | | An LDAP Connection Handler is a type of Connection Handler. You configure the |
| | |
| | | --bindPassword password |
| | | --commandFilePath ~/enable-debug-log.batch |
| | | ... |
| | | $ cat ~/enable-debug-log.batch |
| | | $ cat ~/enable-debug-log.batch |
| | | # dsconfig session start date: 19/Oct/2011:08:52:22 +0000 |
| | | |
| | | # Session operation number: 1 |
| | |
| | | --set |
| | | enabled:false |
| | | --hostname |
| | | Mark-Craigs-iMac.local |
| | | opendj.example.com |
| | | --port |
| | | 4444 |
| | | --trustStorePath |
| | |
| | | |
| | | $</screen> |
| | | <para>Notice that the original command file looks like a shell script with |
| | | the bind password value replaced by asterisks. To pass the content as batch |
| | | the bind password value replaced by asterisks. To pass the content as a batch |
| | | file to <command>dsconfig</command>, strip <literal>dsconfig</literal> |
| | | itself, and include the bind password for the administrative user (or |
| | | replace that option with an alternative, such as reading the password from |