]> git.sur5r.net Git - openldap/blob - servers/slapd/slapd.conf
ITS5282 fix for 2.3
[openldap] / servers / slapd / slapd.conf
1 #
2 # See slapd.conf(5) for details on configuration options.
3 # This file should NOT be world readable.
4 #
5 include         %SYSCONFDIR%/schema/core.schema
6
7 # Define global ACLs to disable default read access.
8
9 # Do not enable referrals until AFTER you have a working directory
10 # service AND an understanding of referrals.
11 #referral       ldap://root.openldap.org
12
13 pidfile         %LOCALSTATEDIR%/run/slapd.pid
14 argsfile        %LOCALSTATEDIR%/run/slapd.args
15
16 # Load dynamic backend modules:
17 # modulepath    %MODULEDIR%
18 # moduleload    back_bdb.la
19 # moduleload    back_ldap.la
20 # moduleload    back_ldbm.la
21 # moduleload    back_passwd.la
22 # moduleload    back_shell.la
23
24 # Sample security restrictions
25 #       Require integrity protection (prevent hijacking)
26 #       Require 112-bit (3DES or better) encryption for updates
27 #       Require 63-bit encryption for simple bind
28 # security ssf=1 update_ssf=112 simple_bind=64
29
30 # Sample access control policy:
31 #       Root DSE: allow anyone to read it
32 #       Subschema (sub)entry DSE: allow anyone to read it
33 #       Other DSEs:
34 #               Allow self write access
35 #               Allow authenticated users read access
36 #               Allow anonymous users to authenticate
37 #       Directives needed to implement policy:
38 # access to dn.base="" by * read
39 # access to dn.base="cn=Subschema" by * read
40 # access to *
41 #       by self write
42 #       by users read
43 #       by anonymous auth
44 #
45 # if no access controls are present, the default policy
46 # allows anyone and everyone to read anything but restricts
47 # updates to rootdn.  (e.g., "access to * by * read")
48 #
49 # rootdn can always read and write EVERYTHING!
50
51 #######################################################################
52 # BDB database definitions
53 #######################################################################
54
55 database        bdb
56 suffix          "dc=my-domain,dc=com"
57 rootdn          "cn=Manager,dc=my-domain,dc=com"
58 # Cleartext passwords, especially for the rootdn, should
59 # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
60 # Use of strong authentication encouraged.
61 rootpw          secret
62 # The database directory MUST exist prior to running slapd AND 
63 # should only be accessible by the slapd and slap tools.
64 # Mode 700 recommended.
65 directory       %LOCALSTATEDIR%/openldap-data
66 # Indices to maintain
67 index   objectClass     eq