103552
#
103552
# See slapd-config(5) for details on configuration options.
103552
# This file should NOT be world readable.
103552
#
103552
103552
dn: cn=config
103552
objectClass: olcGlobal
103552
cn: config
103552
olcArgsFile: /var/run/openldap/slapd.args
103552
olcPidFile: /var/run/openldap/slapd.pid
103552
#
103552
# TLS settings
103552
#
103552
olcTLSCACertificatePath: /etc/openldap/certs
103552
olcTLSCertificateFile: "OpenLDAP Server"
103552
olcTLSCertificateKeyFile: /etc/openldap/certs/password
103552
#
103552
# Do not enable referrals until AFTER you have a working directory
103552
# service AND an understanding of referrals.
103552
#
103552
#olcReferral: ldap://root.openldap.org
103552
#
103552
# Sample security restrictions
103552
#	Require integrity protection (prevent hijacking)
103552
#	Require 112-bit (3DES or better) encryption for updates
103552
#	Require 64-bit encryption for simple bind
103552
#
103552
#olcSecurity: ssf=1 update_ssf=112 simple_bind=64
103552
103552
103552
#
103552
# Load dynamic backend modules:
103552
# - modulepath is architecture dependent value (32/64-bit system)
103552
# - back_sql.la backend requires openldap-servers-sql package
103552
# - dyngroup.la and dynlist.la cannot be used at the same time
103552
#
103552
103552
#dn: cn=module,cn=config
103552
#objectClass: olcModuleList
103552
#cn: module
103552
#olcModulepath:	/usr/lib/openldap
103552
#olcModulepath:	/usr/lib64/openldap
103552
#olcModuleload: accesslog.la
103552
#olcModuleload: auditlog.la
103552
#olcModuleload: back_dnssrv.la
103552
#olcModuleload: back_ldap.la
103552
#olcModuleload: back_mdb.la
103552
#olcModuleload: back_meta.la
103552
#olcModuleload: back_null.la
103552
#olcModuleload: back_passwd.la
103552
#olcModuleload: back_relay.la
103552
#olcModuleload: back_shell.la
103552
#olcModuleload: back_sock.la
103552
#olcModuleload: collect.la
103552
#olcModuleload: constraint.la
103552
#olcModuleload: dds.la
103552
#olcModuleload: deref.la
103552
#olcModuleload: dyngroup.la
103552
#olcModuleload: dynlist.la
103552
#olcModuleload: memberof.la
103552
#olcModuleload: pcache.la
103552
#olcModuleload: ppolicy.la
103552
#olcModuleload: refint.la
103552
#olcModuleload: retcode.la
103552
#olcModuleload: rwm.la
103552
#olcModuleload: seqmod.la
103552
#olcModuleload: smbk5pwd.la
103552
#olcModuleload: sssvlv.la
103552
#olcModuleload: syncprov.la
103552
#olcModuleload: translucent.la
103552
#olcModuleload: unique.la
103552
#olcModuleload: valsort.la
103552
103552
103552
#
103552
# Schema settings
103552
#
103552
103552
dn: cn=schema,cn=config
103552
objectClass: olcSchemaConfig
103552
cn: schema
103552
103552
include: file:///etc/openldap/schema/core.ldif
103552
103552
#
103552
# Frontend settings
103552
#
103552
103552
dn: olcDatabase=frontend,cn=config
103552
objectClass: olcDatabaseConfig
103552
objectClass: olcFrontendConfig
103552
olcDatabase: frontend
103552
#
103552
# Sample global access control policy:
103552
#	Root DSE: allow anyone to read it
103552
#	Subschema (sub)entry DSE: allow anyone to read it
103552
#	Other DSEs:
103552
#		Allow self write access
103552
#		Allow authenticated users read access
103552
#		Allow anonymous users to authenticate
103552
#
103552
#olcAccess: to dn.base="" by * read
103552
#olcAccess: to dn.base="cn=Subschema" by * read
103552
#olcAccess: to *
103552
#	by self write
103552
#	by users read
103552
#	by anonymous auth
103552
#
103552
# if no access controls are present, the default policy
103552
# allows anyone and everyone to read anything but restricts
103552
# updates to rootdn.  (e.g., "access to * by * read")
103552
#
103552
# rootdn can always read and write EVERYTHING!
103552
#
103552
103552
#
103552
# Configuration database
103552
#
103552
103552
dn: olcDatabase=config,cn=config
103552
objectClass: olcDatabaseConfig
103552
olcDatabase: config
103552
olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
103552
 n=auth" manage by * none
103552
103552
#
103552
# Server status monitoring
103552
#
103552
103552
dn: olcDatabase=monitor,cn=config
103552
objectClass: olcDatabaseConfig
103552
olcDatabase: monitor
103552
olcAccess: to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,c
103552
 n=auth" read by dn.base="cn=Manager,dc=my-domain,dc=com" read by * none
103552
103552
#
103552
# Backend database definitions
103552
#
103552
103552
dn: olcDatabase=hdb,cn=config
103552
objectClass: olcDatabaseConfig
103552
objectClass: olcHdbConfig
103552
olcDatabase: hdb
103552
olcSuffix: dc=my-domain,dc=com
103552
olcRootDN: cn=Manager,dc=my-domain,dc=com
103552
olcDbDirectory:	/var/lib/ldap
103552
olcDbIndex: objectClass eq,pres
103552
olcDbIndex: ou,cn,mail,surname,givenname eq,pres,sub