From 48737b0c6f872e8d573c2758db33dfa423629c04 Mon Sep 17 00:00:00 2001 From: elm Date: Tue, 13 Dec 2011 19:39:56 +0100 Subject: [PATCH] Add OpenLDAP config ldif for redmine database --- test/fixtures/ldap/backend.redmine.org.ldif | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/fixtures/ldap/backend.redmine.org.ldif diff --git a/test/fixtures/ldap/backend.redmine.org.ldif b/test/fixtures/ldap/backend.redmine.org.ldif new file mode 100644 index 00000000..b08dddbc --- /dev/null +++ b/test/fixtures/ldap/backend.redmine.org.ldif @@ -0,0 +1,27 @@ +# 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