]> gitweb.factorcode.org Git - factor.git/blob - unmaintained/ldap/conf/slapd.conf
tools.test: Make the flag public. Finish porting tester changes to fuzzer.
[factor.git] / unmaintained / ldap / conf / slapd.conf
1 #
2 ###### SAMPLE 1 - SIMPLE DIRECTORY ############
3 #
4 # NOTES: inetorgperson picks up attributes and objectclasses
5 #        from all three schemas
6 #
7 # NB: RH Linux schemas in /etc/openldap
8 #
9 include         /opt/local/etc/openldap/schema/core.schema
10 include         /opt/local/etc/openldap/schema/cosine.schema
11 include         /opt/local/etc/openldap/schema/inetorgperson.schema
12
13
14 # NO SECURITY - no access clause
15 # defaults to anonymous access for read
16 # only rootdn can write
17
18 # NO REFERRALS
19
20 # DON'T bother with ARGS file unless you feel strongly
21 # slapd scripts stop scripts need this to work
22 pidfile /opt/local/var/run/run/slapd.pid
23
24 # enable a lot of logging - we might need it
25 # but generates huge logs
26 loglevel        -1 
27
28 # NO dynamic backend modules
29
30 # NO TLS-enabled connections
31
32 # backend definition not required
33
34 #######################################################################
35 # bdb database definitions
36
37 # replace example and com below with a suitable domain
38
39 # If you don't have a domain you can leave it since example.com
40 # is reserved for experimentation or change them to my and inc
41 #
42 #######################################################################
43
44 database bdb
45 suffix "dc=example, dc=com"
46
47 # root or superuser
48 rootdn "cn=jimbob, dc=example, dc=com"
49 rootpw secret
50 # The database directory MUST exist prior to running slapd AND 
51 # change path as necessary
52 directory       /opt/local/var/run/openldap-data
53
54 # Indices to maintain for this directory
55 # unique id so equality match only
56 index   uid     eq
57 # allows general searching on commonname, givenname and email
58 index   cn,gn,mail eq,sub
59 # allows multiple variants on surname searching
60 index sn eq,sub,subany,subfinal
61 # optimise department searches
62 index ou eq
63 # shows use of default index parameter
64 index default eq,sub
65 # indices missing - uses default eq,sub
66 index telephonenumber
67