#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		@LDAP_DIR@/schema/core.schema
include		@LDAP_DIR@/schema/cosine.schema
include		@LDAP_DIR@/schema/inetorgperson.schema
include		@LDAP_DIR@/schema/rfc2307bis.schema
include		@LDAP_DIR@/schema/qmail.schema
include		@LDAP_DIR@/schema/ooo.schema
include		@LDAP_DIR@/schema/ooossh.schema
include		@LDAP_DIR@/schema/ooomail.schema
include		@LDAP_DIR@/schema/ooopa.schema

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral	ldap://root.openldap.org

#pidfile		/var/run/openldap/slapd.pid
#argsfile	/var/run/openldap/slapd.args

#######################################################################
# BDB database definitions
#######################################################################

modulepath  /usr/lib/ldap
moduleload  back_bdb

database	bdb
suffix		"dc=example,dc=com"
rootdn		"cn=Manager,dc=example,dc=com"
# This hashed password is "secret" (no quotes)
rootpw		{SSHA}QuGSxVclkOYaUdm1WDbB4iv9aguIwaQ2
# The database directory MUST exist prior to running slapd AND 
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory	@LDAP_DIR@/openldap-data
# Indices to maintain
index	objectClass	eq
