Configuration Parameters


irectory server runtime activities are controlled using configuration parameters. This chapter details the configuration parameters used with the directory server and includes the following topics:

 

Changing Configuration Parameter Values

You can change parameter values through the server manager. Alternatively, you can change these parameter values by directly editing the slapd.conf or slapd.dynamic_ldbm.conf file.

 

Changing Parameter Values Using the Server Manager

You can change most server parameter values from the server manager. To do so, follow these steps:

  1. From the server selector, click the directory server you want to manage.

  2. From the server manager, select System Settings at the top of the server manager screen.

  3. From the list of options at the left of the screen, click View All Server Settings. A table showing the directory server parameters is displayed.

  4. Scroll through the table of parameters until you find the parameter you want to modify. Click the parameter name.

  5. Locate the field in the form that is specific to the parameter, and modify it as required. When you are finished, click OK at the bottom of the form. Your changes are written to a temporary copy of slapd.conf.

  6. Repeat steps 3 through 5 until you are finished modifying parameter values.

  7. Click the Apply button at the top of the server manager screen. A new form is displayed that lets you either apply or undo your changes. Apply writes the temporary copy of slapd.conf to the primary copy. Undo discards the temporary slapd.conf file and restores the parameter values in the server manager to their original state.

  8. Stop and then restart the directory server.

 

Changing Parameter Values Using slapd.conf

The slapd.conf file is a simple ASCII file that is read only when the directory server is started. To modify this file directly:

  1. Edit the file with the ASCII editor of your choice.

  2. Stop and then restart the directory server.

Note that you should only change those parameters that are not supported in slapd.dynamic_ldbm.conf. Currently this is only the index parameter. For more information on slapd.dynamic_ldbm.conf, see "Changing Parameter Values Using slapd.dynamic_ldbm.conf".

The location of all of the directory server's configuration files is documented in "Introducing the 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.

Comment lines begin with a pound symbol (#). Blank lines and comment lines are ignored by ns-slapd. A line beginning with white space is considered a continuation of the previous line.

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.

The general 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/ns-slapd/config/slapd.at.conf


include /usr/ns-home/ns-slapd/config/slapd.oc.conf





# The first parameters apply to ns-slapd as a whole


<general parameter>


<general parameter>


...


# The database ldbm parameter that follows must appear as a separator


# between the general and the database parameters.


database ldbm


<database parameter>


<database parameter>


...

 

Changing Parameter Values Using slapd.dynamic_ldbm.conf

slapd.dynamic_ldbm.conf is used to contain those server parameters that can be changed dynamically; that is, when they are changed from the server manager, they do not require a restart of the directory server. This file is included into slapd.conf using the dynamicconf parameter.

slapd.dynamic_ldbm.conf currently only supports the index parameter. It is a flat ASCII file that contains a simple listing of index parameters. For more information on indexing, see "Creating Indexes Using slapd.dynamic_ldbm.conf".

 

Validating Your Server Settings

You can perform a limited validation of your slapd.conf file using the server manager. This validation ensures that valid parameters are placed in your slapd.conf file by performing the same parsing of the file that ns-slapd performs when it reads the file.

 

General Server Parameters

Table 14.1 describes the server parameters that apply to general directory server operations

Table 14.1 Directory server general parameters.
Parameter

Description

Port Number

Integer specifying the TCP/IP port number used for non-SSL communications.

Encryption Enabled

Boolean specifying whether the server is to use SSL communications.

Encryption Ciphers

String specifying the type of encryption supported by this server.

Encrypted Port Number

Integer specifying the TCP/IP port number used for SSL communications.

Audit Log

String specifying the file used to store changes made to each database as well as the machine data area.

Access Log

String specifying the file used to log information about each database access.

Error Log

String specifying the file used to log error messages generated by ns-slapd.

Size Limit in Entries

Integer specifying the maximum number of entries to return from a search operation.

Time Limit in Seconds

Integer specifying the maximum number of seconds ns-slapd will spend performing a search request.

Look Through Limit in Entries

Integer specifying the maximum number of entries that ns-slapd will check before returning a resource limit error.

Schema Checking

Boolean indicating whether the schema will be enforced during entry insertion or modification.

Track Modifies

Boolean indicating whether ns-slapd will maintain modification attributes for entries.

Log Level

Integer representing the level at which debugging statements and operation statistics will be logged.

Referral

String specifying an LDAP URL to pass back to a client when
ns-slapd cannot find a local database to handle a request.

Supplier DN

String specifying the distinguished name used to update local replicated entries.

Supplier Password

String specifying the password the consumer server expects the supplier server to use when binding.

Supplier SSL Clients

String specifying the subject name(s) or the certificate(s) that correspond to the supplier DN defined for the consumer server.

Changelog DB Directory

String specifying the suffix for the change log database.

Changelog Suffix

String displaying the suffix for the change log database.

Max Changelog Records

Integer representing the maximum number of records the change log may contain.

Max Changelog Age

Integer and ID specifying the maximum allowable age of any entry in the change log.

Password Storage Scheme

String specifying the type of encryption used for password storage.

Certificate and Key Directory

String specifying the path to the SSL directory. This parameter can only be updated by editing slapd.conf; it cannot be edited in the server manager.

Encryption Alias

String representing the encryption alias for this server's certificate.

attribute

String associating a syntax with an attribute name. This parameter can only be updated by editing slapd.conf; it cannot be edited in the server manager.

objectClass

List of strings defining a new object class to be added to the database schema. This parameter can only be updated by editing slapd.conf; it cannot be edited in the server manager.

threadnumber

Number of threads obtained by the directory server at startup time. This parameter can only be updated by editing slapd.conf; it cannot be edited in the server manager.

maxthreadsperconn

Maximum number of threads allowed for use by each connection. This parameter can only be updated by editing slapd.conf; it cannot be edited in the server manager.

NLS

String that displays the directory where the files to support internationalization are kept.

Password Maximum Age

Integer representing the number of days after which user passwords will expire.

Password Expiration

Boolean indicating whether user passwords will expire after a given number of days.

Password Minimum Length

Integer representing the minimum number of characters that must be used in directory server passwords.

Password History

Boolean indicating whether users can reuse passwords.

Number of Passwords to Remember

Integer representing the number of passwords the directory server stores in history.

Password Change

Keyword indicating whether users may or must change their passwords.

Check Password Syntax

Boolean indicating whether the password syntax will be checked before the password is saved.

Send Warning

Integer representing the number days before a user's password is due to expire that the user will be sent a warning message.

Account Lockout

Boolean indicating whether users will be locked out of the directory after a given number of failed bind attempts.

Maximum Password Failures

Integer representing the number failed bind attempts after which a user will be locked out of the directory.

Reset Password Failure Count After

Integer representing the amount of time in minutes after which the password failure counter will be reset.

Unlock Account

Boolean indicating whether users will be locked out of the directory until the administrator resets the password after an account lockout.

Lockout Duration

Integer representing the amount of time in minutes that users will be locked out of the directory after an account lockout.

NT Synchronization Service Enabled

Turns on the NT Synchronization Service server plug-ins.

NT Synchronization Service Port Number

Indicates the port that the directory server will use to for non-LDAP communications with the NT Synchronization Service.

orcauto

Indicates whether a server will automatically use online consumer (replica) creation in the event that an inconsistency is detected between the databases on the supplier and the consumer servers.


 

Port Number

 

Encryption Enabled

 

Encryption Ciphers

 

Encrypted Port Number

 

Audit Log

 

Access Log

 

Error Log

 

Size Limit in Entries

 

Time Limit in Seconds

 

Look Through Limit in Entries

 

Schema Checking

 

Track Modifies

 

Log Level

 

Referral


	ou=People, o=Airius.com


	ou=Groups, o=Airius.com


	ldap://<server location>


	ldaps://<server location>

 

Supplier DN

 

Supplier Password

 

Supplier SSL Clients

 

Changelog DB Directory


	<NSHOME>/slapd-<serverID>/changelogdb

 

Changelog Suffix

 

Max Changelog Records

 

Max Changelog Age

 

Password Storage Scheme

 

Certificate and Key Directory

 

Encryption Alias

 

attribute

 

objectClass

 

threadnumber

 

maxthreadsperconn

 

NLS

 

Password Maximum Age

 

Password Expiration

 

Password Minimum Length

 

Password History

 

Number of Passwords to Remember

 

Password Change

 

Check Password Syntax

 

Send Warning

 

Account Lockout

 

Maximum Password Failures

 

Reset Password Failure Count After

 

Unlock Account

 

Lockout Duration

 

NT Synchronization Service Enabled

 

NT Synchronization Service Port Number

 

orcauto

 

Database Parameters

Table 14.2 describes the server parameters that apply to the directory server database.

Table 14.2 Directory server database parameters

Parameter

Description

Suffix

String specifying the distinguished name suffix used for the local database.

DB Directory

String specifying the directory that contains the database and associated indexes.

Root DN

String specifying the distinguished name of an entry that is not subject to access control or administrative limit restrictions for operations on the database.

Root Password

String displaying the current root password.

Root Password Storage Scheme

String displaying the current root password encryption method used for the root password.

Read-only

Boolean indicating whether the database is in read-only mode.

Maximum Entries in Cache

Integer specifying the number of entries to be contained in the in-memory cache.

Maximum DB Cache size in Bytes

Integer specifying the size in bytes of the in-memory cache associated with each open index file.

Attribute to be Indexed

String specifying the indexes to maintain for a given attribute.

database

String marking the beginning of a new database instance definition within slapd.conf. This parameter can only be updated by editing slapd.conf; it cannot be edited in the server manager.

mode

Integer specifying the file protection used for newly created database index files. This parameter can only be updated by editing slapd.conf; it cannot be edited in the server manager.

Database Checkpoint Interval

The amount of time in seconds after which the directory server sends a checkpoint entry to the database transaction log.

Database Durable Transactions

Indicates whether database transaction log entries are immediately written to the disk.

Database Transaction Log Directory

Specifies the path and directory name of the directory containing the database transaction log.

dynamicconf

Specifies the path to the file containing dynamically changeable configuration parameters.

 

Suffix

 

DB Directory

 

Root DN

 

Root Password

 

Root Password Storage Scheme

 

Read-only

 

Maximum Entries in Cache

 

Maximum DB Cache size in Bytes

 

Attribute to be Indexed

 

database

 

mode

 

Database Checkpoint Interval

 

Database Durable Transactions

 

Database Transaction Log Directory

 

dynamicconf