]> git.sur5r.net Git - openldap/blob - servers/slapd/slapd.conf
protect gecos from overflow
[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 #
26 # Sample access control policy:
27 #       Allow read access of root DSE
28 #       Allow self write access
29 #       Allow authenticated users read access
30 #       Allow anonymous users to authenticate
31 # Directives needed to implement policy:
32 #access to dn.base="" by * read
33 #access to *
34 #       by self write
35 #       by users read
36 #       by anonymous auth
37 #
38 # if no access controls are present, the default policy is:
39 #       Allow read by all
40 #
41 # rootdn can always write!
42
43 #######################################################################
44 # ldbm database definitions
45 #######################################################################
46
47 database        bdb
48 suffix          "dc=my-domain,dc=com"
49 rootdn          "cn=Manager,dc=my-domain,dc=com"
50 # Cleartext passwords, especially for the rootdn, should
51 # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
52 # Use of strong authentication encouraged.
53 rootpw          secret
54 # The database directory MUST exist prior to running slapd AND 
55 # should only be accessible by the slapd/tools. Mode 700 recommended.
56 directory       %LOCALSTATEDIR%/openldap-data
57 # Indices to maintain
58 index   objectClass     eq