]> git.sur5r.net Git - openldap/blob - servers/slapd/slapd.conf
DirectoryString syntaxes must have one or more octets to be valid.
[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%/schema/core.schema
7
8 # Define global ACLs to disable default read access.
9
10 # Do not enable referrals until AFTER you have a working directory
11 # service AND an understanding of referrals.
12 #referral       ldap://root.openldap.org
13
14 pidfile         %LOCALSTATEDIR%/slapd.pid
15 argsfile        %LOCALSTATEDIR%/slapd.args
16
17 # Load dynamic backend modules
18
19 # modulepath    %MODULEDIR%
20 # moduleload    back_bdb2.la
21 # moduleload    back_ldap.la
22 # moduleload    back_ldbm.la
23 # moduleload    back_passwd.la
24 # moduleload    back_perl.la
25 # moduleload    back_shell.la
26 # moduleload    back_bdb2.la
27 # moduleload    back_tcl.la
28
29 #######################################################################
30 # ldbm database definitions
31 #######################################################################
32
33 database        ldbm
34 suffix          "dc=my-domain, dc=com"
35 #suffix         "o=My Organization Name, c=US"
36 rootdn          "cn=Manager, dc=my-domain, dc=com"
37 #rootdn         "cn=Manager, o=My Organization Name, c=US"
38 # cleartext passwords, especially for the rootdn, should
39 # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
40 rootpw          secret
41 # database directory
42 # this directory MUST exist prior to running slapd AND 
43 # should only be accessable by the slapd/tools. Mode 700 recommended.
44 directory       %LOCALSTATEDIR%/openldap-ldbm