Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 04-08-2006 Installation Manual page 690

Table of Contents

Advertisement

37.3.2 Database-Specific Directives in
Example 37.6 slapd.conf: Database-Specific Directives
database bdb
checkpoint
cachesize
suffix "dc=suse,dc=de"
rootdn "cn=admin,dc=suse,dc=de"
# Cleartext passwords, especially for the rootdn, should
# be avoided.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index
The type of database, a Berkeley database in this case, is set in the first line of this
section (see
checkpoint determines the amount of data (in kb) that is kept in the transaction log
before it is written to the actual database and the time (in minutes) between two write
actions. cachesize sets the number of objects kept in the database's cache. suffix
determines for which portion of the LDAP tree this server should be responsible. The
following rootdn determines who owns administrator rights to this server. The user
declared here does not need to have an LDAP entry or exist as regular user. The admin-
istrator password is set with rootpw. Instead of using secret here, it is possible to
enter the hash of the administrator password created by slappasswd. The
directory directive indicates the directory in the file system where the database di-
rectories are stored on the server. The last directive, index objectClass eq, re-
sults in the maintenance of an index of all object classes. Attributes for which users
search most often can be added here according to experience. Custom Access rules
defined here for the database are used instead of the global Access rules.
37.3.3 Starting and Stopping the Servers
Once the LDAP server is fully configured and all desired entries have been made ac-
cording to the pattern described in
(page 691), start the LDAP server as root by entering rcldap start. To stop the
690
Installation and Administration
slapd.conf
1024
5
10000
See slappasswd(8) and slapd.conf(5) for details.
objectClass
eq
Example 37.6, "slapd.conf: Database-Specific Directives"
Section 37.4, "Data Handling in the LDAP Directory"
(page 690)).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents