]> git.sur5r.net Git - openldap/blob - servers/slapd/slapd.conf
Use #ifdef, not #if
[openldap] / servers / slapd / slapd.conf
1 # $OpenLDAP$
2 #
3 # See slapd.conf(5) for details on configuration options.
4 # This file should NOT be world readable.
5 #
6 include         %SYSCONFDIR%/slapd.at.conf
7 include         %SYSCONFDIR%/slapd.oc.conf
8
9 # Define global ACLs to disable default read access.
10
11 # Do not enable referrals until AFTER you have a working directory
12 # service AND an understanding of referrals.
13 #referral       ldap://root.openldap.org
14
15 pidfile         %LOCALSTATEDIR%/slapd.pid
16 argsfile        %LOCALSTATEDIR%/slapd.args
17
18 # Load dynamic backend modules
19
20 # modulepath    %MODULEDIR%
21 # moduleload    back_bdb2.la
22 # moduleload    back_ldap.la
23 # moduleload    back_ldbm.la
24 # moduleload    back_passwd.la
25 # moduleload    back_perl.la
26 # moduleload    back_shell.la
27 # moduleload    back_bdb2.la
28 # moduleload    back_tcl.la
29
30 #######################################################################
31 # ldbm database definitions
32 #######################################################################
33
34 database        ldbm
35 suffix          "dc=my-domain, dc=com"
36 #suffix         "o=My Organization Name, c=US"
37 rootdn          "cn=Manager, dc=my-domain, dc=com"
38 #rootdn         "cn=Manager, o=My Organization Name, c=US"
39 # cleartext passwords, especially for the rootdn, should
40 # be avoid.  See slapd.conf(5) for details.
41 rootpw          secret
42 # database directory
43 # this directory MUST exist prior to running slapd AND 
44 # should only be accessable by the slapd/tools  Mode 700 recommended.
45 directory       %LOCALSTATEDIR%/openldap-ldbm