28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
|
# This is a configuration for a new database to test the ldap plugin.
|
||
|
# It is assumed that you have a ldap server up and running. Do not
|
||
|
# use this file on a new openldap installation.
|
||
|
|
||
|
# Database settings
|
||
|
dn: olcDatabase=hdb,cn=config
|
||
|
objectClass: olcDatabaseConfig
|
||
|
objectClass: olcHdbConfig
|
||
|
olcDatabase: hdb
|
||
|
olcSuffix: dc=redmine,dc=org
|
||
|
# WARNING: Do not use a directory that already contains a ldap database.
|
||
|
# Each database has to be stored in a seperate directory. The directory
|
||
|
# /var/lib/ldap is the default directory on Debian.
|
||
|
olcDbDirectory: /var/lib/ldap/redmine
|
||
|
olcRootDN: cn=Manager,dc=redmine,dc=org
|
||
|
olcRootPW: secret
|
||
|
olcDbConfig: set_cachesize 0 2097152 0
|
||
|
olcDbConfig: set_lk_max_objects 1500
|
||
|
olcDbConfig: set_lk_max_locks 1500
|
||
|
olcDbConfig: set_lk_max_lockers 1500
|
||
|
olcDbIndex: objectClass eq
|
||
|
olcLastMod: TRUE
|
||
|
olcDbCheckpoint: 512 30
|
||
|
olcAccess: to attrs=userPassword by dn="cn=Manager,dc=redmine,dc=org" write by anonymous auth by self write by * none
|
||
|
olcAccess: to attrs=shadowLastChange by self write by * read
|
||
|
olcAccess: to dn.base="" by * read
|
||
|
olcAccess: to * by dn="cn=Manager,dc=redmine,dc=org" write by * read
|