# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
# Include Schemas
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
# Where the dynamically loaded modules are stored
modulepath /usr/lib/ldap
moduleload back_bdb
# bdb database definitions
database bdb
# Define Domain components and Root distinguished name (Manager)
suffix "dc=dom02, dc=linux, dc=class"
rootdn "cn=Manager,dc=dom02,dc=linux,dc=class"
# Where the database file are physically stored for database #1
directory "/var/lib/ldap"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# Root password can be created with:
# perl -e "print crypt(thisp, ac,)" > pass.txt
# rootpw thisp
rootpw {crypt}acunRNwFPEdHQ
# slapd process ID file
pidfile /var/run/slapd/slapd.pid
|