xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-meta.conf (revision 9fb66d812c00ebfb445c0b47dea128f32aa6fe96)
1# master slapd config -- for testing
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2020 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"
53subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US"
54suffixmassage	"ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
55###pseudorootdn	"cn=manager,ou=meta,dc=example,dc=com"
56###pseudorootpw	secret
57idassert-bind	bindmethod=simple
58		binddn="cn=manager,ou=meta,dc=example,dc=com"
59		credentials="secret"
60		mode=self
61		flags=non-prescriptive
62idassert-authzFrom	"dn.exact:cn=Manager,o=Local"
63
64# remote
65uri		"@URI1@o=Example,c=US"
66subtree-include "dn.subtree:o=Example,c=US"
67suffixmassage	"o=Example,c=US" "dc=example,dc=com"
68###pseudorootdn	"cn=manager,dc=example,dc=com"
69###pseudorootpw	secret
70idassert-bind	bindmethod=simple
71		binddn="cn=manager,dc=example,dc=com"
72		credentials="secret"
73		mode=self
74		flags=non-prescriptive
75idassert-authzFrom	"dn.exact:cn=Manager,o=Local"
76
77limits		dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8
78
79# This is only for binding as the rootdn
80database	meta
81suffix		"o=Local"
82rootdn		"cn=Manager,o=Local"
83rootpw		secret
84uri		"@URI6@o=Local"
85
86#monitor#database	monitor
87