You can change parameter values through the server console. Alternatively, you can change these parameter values by directly editing the slapd.conf or slapd.ldbm.conf file.
Changing Parameter Values Using the Server Console
You can change most server parameter values from the Directory Server Console. Unlike previous versions of the directory server, there is no longer a single place that you can go in the server console that allows you to view all server parameters from a single form. Instead, individual server parameters are viewed and set in areas of the UI specific to that task. That is, to change parameters related to the access log, you would go to the Configuration|Logs|Access Log tab on the Directory Server Console.
Changing Parameter Values Using slapd.conf
The slapd.conf file is a text (UTF-8) file that is read only when the directory server is started. slapd.conf contains all of the server parameters that are not related to the server's database. You should not manually edit this file while the server is running because any changes made through the server console cause the server to rewrite the file and may overwrite your manual changes. For a list of these parameters, see Table 17.1.
To modify this file:
Stop the server.
Edit the file with the text editor of your choice.
Stop and then restart the directory server.
The location of all of the directory server's configuration files is documented in "Directory Server Configuration Files".
slapd.conf File Format
The slapd.conf file begins with several include statements that include the standard attribute and object class definitions. The remainder of slapd.conf consists of a series of general configuration parameters that apply to the directory server as a whole, followed by a database definition that contains information specific to the database.
Note.
General parameters may be repeated within the database definition. The last instance of any repeated parameter takes precedence over all other duplicated parameters. The only restriction is that all non-database parameters must appear in the file before any database-specific parameters.
Comment lines begin with a pound symbol (#). Blank lines and comment lines are ignored by the directory server. A line beginning with white space is considered a continuation of the previous line.
Note. Comments are not preserved if the server rewrites the configuration files.
Entry arguments are separated by white space. If a parameter value contains white space, then it must be enclosed in double quotation marks (for example, "like this"). If a parameter value contains a double quotation mark (") or a backslash (\), the character must be preceded (escaped) by a backslash character.
Also, file paths contained in the config file must be delimited using a forward slash (/). Backslashes (\) are not supported. For example, an include directive on an NT system should be written as follows:
include c:/usr/ns-home/slapd-phonebook/config/slapd.at.conf
The format of the slapd.conf file is:
# comment - slapd.at.conf contains common attribute
# definitions, slapd.oc.conf contains common
# object class definitions.
include /usr/ns-home/slapd-phonebook/config/slapd.at.conf
include /usr/ns-home/slapd-phonebook/config/slapd.oc.conf
# The first parameters apply to the directory server as a whole
<general parameter>
<general parameter>
...
# The dynamicconf parameter that follows includes the file that contains
# the server's database parameters.
dynamicconf /usr/ns-home/slapd-phonebook/config/slapd.ldbm.conf
Changing Parameter Values Using slapd.ldbm.conf
The slapd.ldbm.conf file is used to contain the directory server's database parameters. This file is included into slapd.conf using the dynamicconf parameter. For a list of the database parameters, see Table 17.2.
slapd.ldbm.conf is a text (UTF-8) file.