2 # See slapd-config(5) for details on configuration options.
3 # This file should NOT be world readable.
9 olcArgsFile: /var/run/openldap/slapd.args
10 olcPidFile: /var/run/openldap/slapd.pid
14 olcTLSCACertificatePath: /etc/openldap/certs
15 olcTLSCertificateFile: "OpenLDAP Server"
16 olcTLSCertificateKeyFile: /etc/openldap/certs/password
18 # Do not enable referrals until AFTER you have a working directory
19 # service AND an understanding of referrals.
21 #olcReferral: ldap://root.openldap.org
23 # Sample security restrictions
24 # Require integrity protection (prevent hijacking)
25 # Require 112-bit (3DES or better) encryption for updates
26 # Require 64-bit encryption for simple bind
28 #olcSecurity: ssf=1 update_ssf=112 simple_bind=64
32 # Load dynamic backend modules:
33 # - modulepath is architecture dependent value (32/64-bit system)
34 # - back_sql.la backend requires openldap-servers-sql package
35 # - dyngroup.la and dynlist.la cannot be used at the same time
38 #dn: cn=module,cn=config
39 #objectClass: olcModuleList
41 #olcModulepath: /usr/lib/openldap
42 #olcModulepath: /usr/lib64/openldap
43 #olcModuleload: accesslog.la
44 #olcModuleload: auditlog.la
45 #olcModuleload: back_dnssrv.la
46 #olcModuleload: back_ldap.la
47 #olcModuleload: back_mdb.la
48 #olcModuleload: back_meta.la
49 #olcModuleload: back_null.la
50 #olcModuleload: back_passwd.la
51 #olcModuleload: back_relay.la
52 #olcModuleload: back_shell.la
53 #olcModuleload: back_sock.la
54 #olcModuleload: collect.la
55 #olcModuleload: constraint.la
56 #olcModuleload: dds.la
57 #olcModuleload: deref.la
58 #olcModuleload: dyngroup.la
59 #olcModuleload: dynlist.la
60 #olcModuleload: memberof.la
61 #olcModuleload: pcache.la
62 #olcModuleload: ppolicy.la
63 #olcModuleload: refint.la
64 #olcModuleload: retcode.la
65 #olcModuleload: rwm.la
66 #olcModuleload: seqmod.la
67 #olcModuleload: smbk5pwd.la
68 #olcModuleload: sssvlv.la
69 #olcModuleload: syncprov.la
70 #olcModuleload: translucent.la
71 #olcModuleload: unique.la
72 #olcModuleload: valsort.la
79 dn: cn=schema,cn=config
80 objectClass: olcSchemaConfig
83 include: file:///etc/openldap/schema/core.ldif
89 dn: olcDatabase=frontend,cn=config
90 objectClass: olcDatabaseConfig
91 objectClass: olcFrontendConfig
94 # Sample global access control policy:
95 # Root DSE: allow anyone to read it
96 # Subschema (sub)entry DSE: allow anyone to read it
98 # Allow self write access
99 # Allow authenticated users read access
100 # Allow anonymous users to authenticate
102 #olcAccess: to dn.base="" by * read
103 #olcAccess: to dn.base="cn=Subschema" by * read
109 # if no access controls are present, the default policy
110 # allows anyone and everyone to read anything but restricts
111 # updates to rootdn. (e.g., "access to * by * read")
113 # rootdn can always read and write EVERYTHING!
117 # Configuration database
120 dn: olcDatabase=config,cn=config
121 objectClass: olcDatabaseConfig
123 olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
124 n=auth" manage by * none
127 # Server status monitoring
130 dn: olcDatabase=monitor,cn=config
131 objectClass: olcDatabaseConfig
133 olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
134 n=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none
137 # Backend database definitions
140 dn: olcDatabase=hdb,cn=config
141 objectClass: olcDatabaseConfig
142 objectClass: olcHdbConfig
144 olcSuffix: dc=my-domain,dc=com
145 olcRootDN: cn=Manager,dc=my-domain,dc=com
146 olcDbDirectory: /var/lib/ldap
147 olcDbIndex: objectClass eq,pres
148 olcDbIndex: ou,cn,mail,surname,givenname eq,pres,sub