xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-glue-ldap.conf (revision f14316bcbc544b96a93e884bc5c2b15fd60e22ae)
1# master slapd config -- for testing
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2014 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#mod#modulepath	../servers/slapd/back-@BACKEND@/
26#mod#moduleload	back_@BACKEND@.la
27#relaymod#modulepath ../servers/slapd/back-relay/
28#relaymod#moduleload back_relay.la
29#ldapmod#modulepath ../servers/slapd/back-ldap/
30#ldapmod#moduleload back_ldap.la
31#metamod#modulepath ../servers/slapd/back-meta/
32#metamod#moduleload back_meta.la
33#monitormod#modulepath ../servers/slapd/back-monitor/
34#monitormod#moduleload back_monitor.la
35#rwmmod#modulepath ../servers/slapd/overlays/
36#rwmmod#moduleload rwm.la
37
38overlay		rwm
39rwm-suffixmassage	"o=Example,c=US" "dc=example,dc=com"
40
41#######################################################################
42# database definitions
43#######################################################################
44
45# remote
46database	ldap
47suffix		"ou=Meta,dc=example,dc=com"
48subordinate
49uri		"@URI2@"
50rootdn		"cn=Manager,dc=example,dc=com"
51chase-referrals	no
52idassert-bind	bindmethod=simple
53		binddn="cn=Manager,ou=Meta,dc=example,dc=com"
54		credentials="secret"
55		mode=self
56		flags=non-prescriptive
57idassert-authzfrom	"dn.exact:cn=Manager,o=Local"
58
59# local
60database	ldap
61suffix		"dc=example,dc=com"
62uri		"@URI1@"
63rootdn		"cn=Manager,dc=example,dc=com"
64rootpw		secret
65chase-referrals	no
66idassert-bind	bindmethod=simple
67		binddn="cn=Manager,dc=example,dc=com"
68		credentials="secret"
69		mode=self
70		flags=non-prescriptive
71idassert-authzfrom	"dn.exact:cn=Manager,o=Local"
72
73limits		dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" time=1 size=8
74
75# This is only for binding as the rootdn
76database	ldap
77suffix		"o=Local"
78rootdn		"cn=Manager,o=Local"
79rootpw		secret
80uri		"@URI6@"
81
82#monitor#database	monitor
83