summaryrefslogtreecommitdiffstats
path: root/tests/data/slapd-meta.conf
blob: 472fd6f064a03ec4af5cb3f75d1f428e67bec46a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# provider slapd config -- for testing
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2022 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.

include		@SCHEMADIR@/core.schema
include		@SCHEMADIR@/cosine.schema
include		@SCHEMADIR@/inetorgperson.schema
include		@SCHEMADIR@/openldap.schema
include		@SCHEMADIR@/nis.schema
pidfile		@TESTDIR@/slapd.m.pid
argsfile	@TESTDIR@/slapd.m.args

#ldapmod#modulepath ../servers/slapd/back-ldap/
#ldapmod#moduleload back_ldap.la
#metamod#modulepath ../servers/slapd/back-meta/
#metamod#moduleload back_meta.la

# seems to improve behavior under very heavy load
# (i.e. it alleviates load on target systems)
threads		8

#######################################################################
# database definitions
#######################################################################

database	meta
suffix		"o=Example,c=US"
rootdn		"cn=Manager,o=Example,c=US"
rootpw		secret
chase-referrals	no
#nretries	forever
nretries	100
# 1 sec timeout for binds
bind-timeout	1000000
#norefs		true

# local
uri		"@URI2@ou=Meta,o=Example,c=US"
subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US"
suffixmassage	"ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
###pseudorootdn	"cn=manager,ou=meta,dc=example,dc=com"
###pseudorootpw	secret
idassert-bind	bindmethod=simple
		binddn="cn=manager,ou=meta,dc=example,dc=com"
		credentials="secret"
		mode=self
		flags=non-prescriptive
idassert-authzFrom	"dn.exact:cn=Manager,o=Local"

# remote
uri		"@URI1@o=Example,c=US"
subtree-include "dn.subtree:o=Example,c=US"
suffixmassage	"o=Example,c=US" "dc=example,dc=com"
###pseudorootdn	"cn=manager,dc=example,dc=com"
###pseudorootpw	secret
idassert-bind	bindmethod=simple
		binddn="cn=manager,dc=example,dc=com"
		credentials="secret"
		mode=self
		flags=non-prescriptive
idassert-authzFrom	"dn.exact:cn=Manager,o=Local"

limits		dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8

# This is only for binding as the rootdn
database	meta
suffix		"o=Local"
rootdn		"cn=Manager,o=Local"
rootpw		secret
uri		"@URI6@o=Local"

database	monitor