slapd-meta.conf 2.36 KB
Newer Older
1
2
3
4
# master slapd config -- for testing
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
Kurt Zeilenga's avatar
Kurt Zeilenga committed
5
## Copyright 1998-2008 The OpenLDAP Foundation.
6
7
8
9
10
11
12
13
14
15
## 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>.

16
17
18
19
20
21
22
23
include		@SCHEMADIR@/core.schema
include		@SCHEMADIR@/cosine.schema
include		@SCHEMADIR@/inetorgperson.schema
include		@SCHEMADIR@/openldap.schema
include		@SCHEMADIR@/nis.schema
include		@SCHEMADIR@/ppolicy.schema
pidfile		@TESTDIR@/slapd.m.pid
argsfile	@TESTDIR@/slapd.m.args
24
25
26
27
28
29
30
31

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

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

36
37
38
39
40
41
42
43
#######################################################################
# database definitions
#######################################################################

database	meta
suffix		"o=Example,c=US"
rootdn		"cn=Manager,o=Example,c=US"
rootpw		secret
Pierangelo Masarati's avatar
Pierangelo Masarati committed
44
chase-referrals	no
Pierangelo Masarati's avatar
Pierangelo Masarati committed
45
46
47
48
#nretries	forever
nretries	100
# 1 sec timeout for binds
bind-timeout	1000000
49
#norefs		true
50

51
52
53
# local
uri		"@URI2@ou=Meta,o=Example,c=US"
suffixmassage	"ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
54
55
56
57
58
59
60
61
###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=none
		flags=non-prescriptive
idassert-authzFrom	"dn.exact:cn=Manager,o=Example,c=US"
62
63
64
65

# remote
uri		"@URI1@o=Example,c=US"
suffixmassage	"o=Example,c=US" "dc=example,dc=com"
66
67
68
69
70
71
72
73
###pseudorootdn	"cn=manager,dc=example,dc=com"
###pseudorootpw	secret
idassert-bind	bindmethod=simple
		binddn="cn=manager,dc=example,dc=com"
		credentials="secret"
		mode=none
		flags=non-prescriptive
idassert-authzFrom	"dn.exact:cn=Manager,o=Example,c=US"
74

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

77
#monitor#database	monitor