![](/images/new-backgrounds/1333123/33312333x1.webp)
About the setup-ds-admin.pl Script
•An .inf file can be used in conjunction with command line parameters. Parameters set in the command line override those specified in an .inf file, which is useful for creating an .inf file to use to set up many Directory Servers. Many of the parameters can be the same, such as
ConfigDirectoryLdapURL, ones specific to the host, such as FullMachineName have to be unique. For example:
General.FullMachineName=ldap37.example.com
slapd.ServerIdentifier=ldap37
This command uses the common parameters specified in the common.inf file, but overrides FullMachineName and ServerIdentifier with the command line arguments.
NOTE
The section names and parameter names used in the .inf files and on the command line are case sensitive. Refer to Table 1.1,
The .inf file has an additional option, ConfigFile which imports the contents of any LDIF file into the Directory Server. This is an extremely useful tool for preconfiguring users, replication, and other directory management entries. For more information on using the ConfigFile parameter to configure the Directory Server, see Section 3.4, “Using the ConfigFile Parameter to Configure the Directory Server”.
Option | Alternate Options | Description | Example |
|
|
|
|
|
|
This sets that the |
|
| ||
|
| setup script will run in |
|
|
|
| silent mode, drawing |
|
|
|
| the configuration |
|
|
|
| information from a file |
|
|
|
| (set with the |
|
|
|
| parameter) or from |
|
|
|
| arguments passed in |
|
|
|
| the command line |
|
|
|
| rather than |
|
|
|
| interactively. |
|
|
|
|
|
|
|
| This sets the path | |||
|
| and name of the file | ||
|
| which contains the |
|
|
|
| configuration settings |
|
|
|
| for the new Directory |
|
|
|
| Server instance. This |
|
|
|
|
|
|
|
7