1# this is the full path to the core.schema 2include /etc/ldap/schema/core.schema 3 4# this is the full path to the dlz.schema 5include /etc/ldap/schema/dlz.schema 6 7# these files hold the slapd process ID and program args when 8# slapd is started. 9pidfile /var/run/slapd/slapd.pid 10argsfile /var/run/slapd/slapd.args 11 12modulepath /usr/lib/ldap 13moduleload back_hdb 14 15# this allows ldap version 2 connections. You should comment 16# it out if you don't need ldap version 2. 17allow bind_v2 18 19# this sets up the Berkeley DB database backend for LDAP to use. 20database hdb 21 22# This is the root of the LDAP server. You still need to add 23# an entry to this location via a LDIF file, or you won't be 24# able to add anything else into the LDAP server. 25suffix "o=bind-dlz" 26 27# this is the "username" you have to use when connecting to the 28# ldap server to make updates. Type the whole thing exactly 29# as you see it as a parameter to ldapadd. 30rootdn "cn=Manager,o=bind-dlz" 31 32# this is the "password" you have to use when connecting to the 33# ldap server to make updates. 34rootpw secret 35 36# this is the directory that the LDAP server will create the 37# Berkeley DB backend in. 38directory /var/lib/ldap 39 40# this just adds some indexing to the LDAP server. 41# probably should have more to better optimize DLZ LDAP searches. 42index cn,sn,uid pres,eq 43index objectClass eq 44 45