Blame SOURCES/slapd.ldif

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