3 # See slapd.conf(5) for details on configuration options.
4 # This file should NOT be world readable.
6 include %SYSCONFDIR%/schema/core.schema
8 # Define global ACLs to disable default read access.
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
14 pidfile %LOCALSTATEDIR%/slapd.pid
15 argsfile %LOCALSTATEDIR%/slapd.args
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
25 # Sample security restrictions
27 # Disallow clear text exchange of passwords
28 # disallow bind_simple_unprotected
30 # Require integrity protection (prevent hijacking)
31 # Require 112-bit (3DES or better) encryption
32 # security ssf=1 ssf=112
34 # Sample access control policy:
35 # Allow read access of root DSE
36 # Allow self write access
37 # Allow authenticated users read access
38 # Allow anonymous users to authenticate
39 # Directives needed to implement policy:
40 #access to dn.base="" by * read
46 # if no access controls are present, the default policy is:
49 # rootdn can always write!
51 #######################################################################
52 # ldbm database definitions
53 #######################################################################
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.
62 # The database directory MUST exist prior to running slapd AND
63 # should only be accessible by the slapd/tools. Mode 700 recommended.
64 directory %LOCALSTATEDIR%/openldap-data