]> git.sur5r.net Git - openldap/blob - servers/slapd/slapd.conf
Lots of fixes from HEAD
[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_bdb.la
20 # moduleload    back_ldap.la
21 # moduleload    back_ldbm.la
22 # moduleload    back_passwd.la
23 # moduleload    back_shell.la
24
25 # Sample security restrictions
26 #
27 #   Disallow clear text exchange of passwords
28 # disallow bind_simple_unprotected
29 #
30 #       Require integrity protection (prevent hijacking)
31 #       Require 112-bit (3DES or better) encryption for updates
32 #       Require 63-bit encryption for simple bind
33 # security ssf=1 update_ssf=112 simple_bind=64
34
35 # Sample access control policy:
36 #       Root DSE: allow anyone to read it
37 #       Subschema (sub)entry DSE: allow anyone to read it
38 #       Other DSEs:
39 #               Allow self write access
40 #               Allow authenticated users read access
41 #               Allow anonymous users to authenticate
42 #       Directives needed to implement policy:
43 # access to dn.base="" by * read
44 # access to dn.base="cn=Subschema" by * read
45 # access to *
46 #       by self write
47 #       by users read
48 #       by anonymous auth
49 #
50 # if no access controls are present, the default policy is:
51 #       Allow read by all
52 #
53 # rootdn can always write!
54
55 #######################################################################
56 # ldbm database definitions
57 #######################################################################
58
59 database        bdb
60 suffix          "dc=my-domain,dc=com"
61 rootdn          "cn=Manager,dc=my-domain,dc=com"
62 # Cleartext passwords, especially for the rootdn, should
63 # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
64 # Use of strong authentication encouraged.
65 rootpw          secret
66 # The database directory MUST exist prior to running slapd AND 
67 # should only be accessible by the slapd and slap tools.
68 # Mode 700 recommended.
69 directory       %LOCALSTATEDIR%/openldap-data
70 # Indices to maintain
71 index   objectClass     eq