Blame SOURCES/slapd.ldif

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