1 # See slapd-config(5) for details on configuration options.
2 # This file should NOT be world readable.
8 olcArgsFile: /run/openldap/slapd.args
9 olcPidFile: /run/openldap/slapd.pid
13 #olcTLSCACertificateFile: /etc/pki/CA/cacert.pem
14 #olcTLSCertificateFile: /etc/openldap/certs/server.pem
15 #olcTLSCertificateKeyFile: /etc/openldap/certs/server.pem
17 # Do not enable referrals until AFTER you have a working directory
18 # service AND an understanding of referrals.
20 #olcReferral: ldap://root.openldap.org
22 # Sample security restrictions
23 # Require integrity protection (prevent hijacking)
24 # Require 112-bit (3DES or better) encryption for updates
25 # Require 64-bit encryption for simple bind
27 #olcSecurity: ssf=1 update_ssf=112 simple_bind=64
30 # Load dynamic backend modules:
31 # - modulepath is architecture dependent value (32/64-bit system)
32 # - back_sql.la backend requires openldap-servers-sql package
33 # - dyngroup.la and dynlist.la cannot be used at the same time
36 #dn: cn=module,cn=config
37 #objectClass: olcModuleList
39 #olcModulepath: /usr/lib/openldap
40 #olcModulepath: /usr/lib64/openldap
41 #olcModuleload: accesslog.la
42 #olcModuleload: auditlog.la
43 #olcModuleload: back_dnssrv.la
44 #olcModuleload: back_hdb.so
45 #olcModuleload: back_ldap.la
46 #olcModuleload: back_mdb.la
47 #olcModuleload: back_meta.la
48 #olcModuleload: back_null.la
49 #olcModuleload: back_passwd.la
50 #olcModuleload: back_relay.la
51 #olcModuleload: back_shell.la
52 #olcModuleload: back_sock.la
53 #olcModuleload: collect.la
54 #olcModuleload: constraint.la
55 #olcModuleload: dds.la
56 #olcModuleload: deref.la
57 #olcModuleload: dyngroup.la
58 #olcModuleload: dynlist.la
59 #olcModuleload: memberof.la
60 #olcModuleload: pcache.la
61 #olcModuleload: ppolicy.la
62 #olcModuleload: refint.la
63 #olcModuleload: retcode.la
64 #olcModuleload: rwm.la
65 #olcModuleload: seqmod.la
66 #olcModuleload: smbk5pwd.la
67 #olcModuleload: sssvlv.la
68 #olcModuleload: syncprov.la
69 #olcModuleload: translucent.la
70 #olcModuleload: unique.la
71 #olcModuleload: valsort.la
78 dn: cn=schema,cn=config
79 objectClass: olcSchemaConfig
82 include: file:///etc/openldap/schema/core.ldif
83 include: file:///etc/openldap/schema/cosine.ldif
84 include: file:///etc/openldap/schema/nis.ldif
85 include: file:///etc/openldap/schema/inetorgperson.ldif
91 dn: olcDatabase=frontend,cn=config
92 objectClass: olcDatabaseConfig
95 # Sample global access control policy:
96 # Root DSE: allow anyone to read it
97 # Subschema (sub)entry DSE: allow anyone to read it
99 # Allow self write access
100 # Allow authenticated users read access
101 # Allow anonymous users to authenticate
103 #olcAccess: to dn.base="" by * read
104 #olcAccess: to dn.base="cn=Subschema" by * read
110 # if no access controls are present, the default policy
111 # allows anyone and everyone to read anything but restricts
112 # updates to rootdn. (e.g., "access to * by * read")
114 # rootdn can always read and write EVERYTHING!
118 # Configuration database
121 dn: olcDatabase=config,cn=config
122 objectClass: olcDatabaseConfig
124 olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
125 n=auth" manage by * none
128 # Server status monitoring
131 #dn: olcDatabase=monitor,cn=config
132 #objectClass: olcDatabaseConfig
133 #olcDatabase: monitor
134 #olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
135 n=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none
138 # Backend database definitions
141 dn: olcDatabase=hdb,cn=config
142 objectClass: olcDatabaseConfig
143 objectClass: olcHdbConfig
146 olcRootDN: cn=admin,@SUFFIX@
147 olcDbDirectory: /var/lib/ldap
148 olcDbIndex: objectClass eq,pres
149 olcDbIndex: ou,cn,mail,surname,givenname eq,pres,sub