]> git.sur5r.net Git - openldap/blob - servers/slapd/slapd.conf
Extend value_match to extract an asserted value from a full value
[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 # modulepath    %MODULEDIR%
19 # moduleload    back_ldap.la
20 # moduleload    back_ldbm.la
21 # moduleload    back_passwd.la
22 # moduleload    back_shell.la
23
24 #
25 # Sample Access Control
26 #       Allow read access of root DSE
27 #       Allow self write access
28 #       Allow authenticated users read access
29 #       Allow anonymous users to authenticate
30 #
31 #access to dn="" by * read
32 #access to *
33 #       by self write
34 #       by users read
35 #       by anonymous auth
36 #
37 # if no access controls are present, the default is:
38 #       Allow read by all
39 #
40 # rootdn can always write!
41
42 #######################################################################
43 # ldbm database definitions
44 #######################################################################
45
46 database        ldbm
47 suffix          "dc=my-domain,dc=com"
48 #suffix         "o=My Organization Name,c=US"
49 rootdn          "cn=Manager,dc=my-domain,dc=com"
50 #rootdn         "cn=Manager,o=My Organization Name,c=US"
51 # Cleartext passwords, especially for the rootdn, should
52 # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
53 # Use of strong authentication encouraged.
54 rootpw          secret
55 # The database directory MUST exist prior to running slapd AND 
56 # should only be accessible by the slapd/tools. Mode 700 recommended.
57 directory       %LOCALSTATEDIR%/openldap-ldbm
58 # Indices to maintain
59 index   objectClass     eq