1# master slapd config -- for testing
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2011 The OpenLDAP Foundation.
6## All rights reserved.
7##
8## Redistribution and use in source and binary forms, with or without
9## modification, are permitted only as authorized by the OpenLDAP
10## Public License.
11##
12## A copy of this license is available in the file LICENSE in the
13## top-level directory of the distribution or, alternatively, at
14## <http://www.OpenLDAP.org/license.html>.
15
16include		@SCHEMADIR@/core.schema
17include		@SCHEMADIR@/cosine.schema
18include		@SCHEMADIR@/inetorgperson.schema
19include		@SCHEMADIR@/openldap.schema
20include		@SCHEMADIR@/nis.schema
21include		@SCHEMADIR@/ppolicy.schema
22pidfile		@TESTDIR@/slapd.m.pid
23argsfile	@TESTDIR@/slapd.m.args
24
25#ldapmod#modulepath ../servers/slapd/back-ldap/
26#ldapmod#moduleload back_ldap.la
27#metamod#modulepath ../servers/slapd/back-meta/
28#metamod#moduleload back_meta.la
29#monitormod#modulepath ../servers/slapd/back-monitor/
30#monitormod#moduleload back_monitor.la
31
32# seems to improve behavior under very heavy load
33# (i.e. it alleviates load on target systems)
34threads		8
35
36#######################################################################
37# database definitions
38#######################################################################
39
40database	meta
41suffix		"o=Example,c=US"
42rootdn		"cn=Manager,o=Example,c=US"
43rootpw		secret
44chase-referrals	no
45#nretries	forever
46nretries	100
47# 1 sec timeout for binds
48bind-timeout	1000000
49#norefs		true
50
51# local
52uri		"@URI2@ou=Meta,o=Example,c=US"
53suffixmassage	"ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
54###pseudorootdn	"cn=manager,ou=meta,dc=example,dc=com"
55###pseudorootpw	secret
56idassert-bind	bindmethod=simple
57		binddn="cn=manager,ou=meta,dc=example,dc=com"
58		credentials="secret"
59		mode=self
60		flags=non-prescriptive
61idassert-authzFrom	"dn.exact:cn=Manager,o=Local"
62
63# remote
64uri		"@URI1@o=Example,c=US"
65suffixmassage	"o=Example,c=US" "dc=example,dc=com"
66###pseudorootdn	"cn=manager,dc=example,dc=com"
67###pseudorootpw	secret
68idassert-bind	bindmethod=simple
69		binddn="cn=manager,dc=example,dc=com"
70		credentials="secret"
71		mode=self
72		flags=non-prescriptive
73idassert-authzFrom	"dn.exact:cn=Manager,o=Local"
74
75limits		dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8
76
77# This is only for binding as the rootdn
78database	meta
79suffix		"o=Local"
80rootdn		"cn=Manager,o=Local"
81rootpw		secret
82uri		"@URI6@o=Local"
83
84#monitor#database	monitor
85