summaryrefslogtreecommitdiffstats
path: root/contrib/dlz/modules/ldap/testing/slapd.conf
blob: d4a62874ac785d691e168e0ee88b20efd9d0690a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# this is the full path to the core.schema
include               /etc/ldap/schema/core.schema

# this is the full path to the dlz.schema
include               /etc/ldap/schema/dlz.schema

# these files hold the slapd process ID and program args when
# slapd is started.
pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args

modulepath      /usr/lib/ldap
moduleload      back_hdb

# this allows ldap version 2 connections.  You should comment
# it out if you don't need ldap version 2.
allow bind_v2

# this sets up the Berkeley DB database backend for LDAP to use.
database      hdb

# This is the root of the LDAP server.  You still need to add
# an entry to this location via a LDIF file, or you won't be
# able to add anything else into the LDAP server.
suffix                "o=bind-dlz"

# this is the "username" you have to use when connecting to the
# ldap server to make updates.  Type the whole thing exactly
# as you see it as a parameter to ldapadd.
rootdn                "cn=Manager,o=bind-dlz"

# this is the "password" you have to use when connecting to the
# ldap server to make updates.
rootpw                secret

# this is the directory that the LDAP server will create the
# Berkeley DB backend in.
directory     /var/lib/ldap

# this just adds some indexing to the LDAP server.
# probably should have more to better optimize DLZ LDAP searches.
index cn,sn,uid pres,eq
index objectClass     eq