1# provider slapd config -- for testing
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2021 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
21pidfile		@TESTDIR@/slapd.m.pid
22argsfile	@TESTDIR@/slapd.m.args
23
24#ldapmod#modulepath ../servers/slapd/back-ldap/
25#ldapmod#moduleload back_ldap.la
26#metamod#modulepath ../servers/slapd/back-meta/
27#metamod#moduleload back_meta.la
28
29# seems to improve behavior under very heavy load
30# (i.e. it alleviates load on target systems)
31threads		8
32
33#######################################################################
34# database definitions
35#######################################################################
36
37database	meta
38suffix		"o=Example,c=US"
39rootdn		"cn=Manager,o=Example,c=US"
40rootpw		secret
41chase-referrals	no
42#nretries	forever
43nretries	100
44# 1 sec timeout for binds
45bind-timeout	1000000
46#norefs		true
47
48# local
49uri		"@URI2@ou=Meta,o=Example,c=US"
50subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US"
51suffixmassage	"ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
52###pseudorootdn	"cn=manager,ou=meta,dc=example,dc=com"
53###pseudorootpw	secret
54idassert-bind	bindmethod=simple
55		binddn="cn=manager,ou=meta,dc=example,dc=com"
56		credentials="secret"
57		mode=self
58		flags=non-prescriptive
59idassert-authzFrom	"dn.exact:cn=Manager,o=Local"
60
61# remote
62uri		"@URI1@o=Example,c=US"
63subtree-include "dn.subtree:o=Example,c=US"
64suffixmassage	"o=Example,c=US" "dc=example,dc=com"
65###pseudorootdn	"cn=manager,dc=example,dc=com"
66###pseudorootpw	secret
67idassert-bind	bindmethod=simple
68		binddn="cn=manager,dc=example,dc=com"
69		credentials="secret"
70		mode=self
71		flags=non-prescriptive
72idassert-authzFrom	"dn.exact:cn=Manager,o=Local"
73
74limits		dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8
75
76# This is only for binding as the rootdn
77database	meta
78suffix		"o=Local"
79rootdn		"cn=Manager,o=Local"
80rootpw		secret
81uri		"@URI6@o=Local"
82
83database	monitor
84