2 # See slapd.conf(5) for details on configuration options.
3 # This file should NOT be world readable.
5 include %SYSCONFDIR%/schema/core.schema
7 # Define global ACLs to disable default read access.
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
13 pidfile %LOCALSTATEDIR%/run/slapd.pid
14 argsfile %LOCALSTATEDIR%/run/slapd.args
16 # Load dynamic backend modules:
17 # modulepath %MODULEDIR%
18 # moduleload back_mdb.la
19 # moduleload back_ldap.la
21 # Sample security restrictions
22 # Require integrity protection (prevent hijacking)
23 # Require 112-bit (3DES or better) encryption for updates
24 # Require 63-bit encryption for simple bind
25 # security ssf=1 update_ssf=112 simple_bind=64
27 # Sample access control policy:
28 # Root DSE: allow anyone to read it
29 # Subschema (sub)entry DSE: allow anyone to read it
31 # Allow self write access
32 # Allow authenticated users read access
33 # Allow anonymous users to authenticate
34 # Directives needed to implement policy:
35 # access to dn.base="" by * read
36 # access to dn.base="cn=Subschema" by * read
42 # if no access controls are present, the default policy
43 # allows anyone and everyone to read anything but restricts
44 # updates to rootdn. (e.g., "access to * by * read")
46 # rootdn can always read and write EVERYTHING!
48 #######################################################################
49 # BDB database definitions
50 #######################################################################
53 suffix "dc=my-domain,dc=com"
54 rootdn "cn=Manager,dc=my-domain,dc=com"
55 # Cleartext passwords, especially for the rootdn, should
56 # be avoid. See slappasswd(8) and slapd.conf(5) for details.
57 # Use of strong authentication encouraged.
59 # The database directory MUST exist prior to running slapd AND
60 # should only be accessible by the slapd and slap tools.
61 # Mode 700 recommended.
62 directory %LOCALSTATEDIR%/openldap-data