2005-04-16 10:27:27 +08:00
|
|
|
# master slapd config -- for testing
|
|
|
|
# $OpenLDAP$
|
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2018-03-22 23:35:24 +08:00
|
|
|
## Copyright 1998-2018 The OpenLDAP Foundation.
|
2005-04-16 10:27:27 +08:00
|
|
|
## 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>.
|
|
|
|
|
2005-09-29 07:38:15 +08:00
|
|
|
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
|
2005-04-16 10:27:27 +08:00
|
|
|
|
|
|
|
#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
|
|
|
|
|
2005-12-22 01:28:01 +08:00
|
|
|
# seems to improve behavior under very heavy load
|
|
|
|
# (i.e. it alleviates load on target systems)
|
|
|
|
threads 8
|
|
|
|
|
2005-04-16 10:27:27 +08:00
|
|
|
#######################################################################
|
|
|
|
# database definitions
|
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
database meta
|
|
|
|
suffix "o=Example,c=US"
|
|
|
|
rootdn "cn=Manager,o=Example,c=US"
|
|
|
|
rootpw secret
|
2005-05-06 00:22:50 +08:00
|
|
|
chase-referrals no
|
2005-12-22 08:06:47 +08:00
|
|
|
#nretries forever
|
|
|
|
nretries 100
|
|
|
|
# 1 sec timeout for binds
|
|
|
|
bind-timeout 1000000
|
2008-07-14 07:33:18 +08:00
|
|
|
#norefs true
|
2008-06-30 18:18:37 +08:00
|
|
|
|
2005-04-16 10:27:27 +08:00
|
|
|
# local
|
|
|
|
uri "@URI2@ou=Meta,o=Example,c=US"
|
2013-03-01 17:19:33 +08:00
|
|
|
subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US"
|
2005-04-16 10:27:27 +08:00
|
|
|
suffixmassage "ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
|
2006-10-08 02:07:56 +08:00
|
|
|
###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"
|
2010-08-29 10:55:35 +08:00
|
|
|
mode=self
|
2006-10-08 02:07:56 +08:00
|
|
|
flags=non-prescriptive
|
2010-08-29 13:06:07 +08:00
|
|
|
idassert-authzFrom "dn.exact:cn=Manager,o=Local"
|
2005-04-16 10:27:27 +08:00
|
|
|
|
|
|
|
# remote
|
|
|
|
uri "@URI1@o=Example,c=US"
|
2013-03-01 17:19:33 +08:00
|
|
|
subtree-include "dn.subtree:o=Example,c=US"
|
2005-04-16 10:27:27 +08:00
|
|
|
suffixmassage "o=Example,c=US" "dc=example,dc=com"
|
2006-10-08 02:07:56 +08:00
|
|
|
###pseudorootdn "cn=manager,dc=example,dc=com"
|
|
|
|
###pseudorootpw secret
|
|
|
|
idassert-bind bindmethod=simple
|
|
|
|
binddn="cn=manager,dc=example,dc=com"
|
|
|
|
credentials="secret"
|
2010-08-29 10:55:35 +08:00
|
|
|
mode=self
|
2006-10-08 02:07:56 +08:00
|
|
|
flags=non-prescriptive
|
2010-08-29 13:06:07 +08:00
|
|
|
idassert-authzFrom "dn.exact:cn=Manager,o=Local"
|
2005-04-16 10:27:27 +08:00
|
|
|
|
2005-12-12 07:39:09 +08:00
|
|
|
limits dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8
|
|
|
|
|
2010-08-29 13:06:07 +08:00
|
|
|
# This is only for binding as the rootdn
|
|
|
|
database meta
|
|
|
|
suffix "o=Local"
|
|
|
|
rootdn "cn=Manager,o=Local"
|
|
|
|
rootpw secret
|
|
|
|
uri "@URI6@o=Local"
|
|
|
|
|
2005-04-16 10:27:27 +08:00
|
|
|
#monitor#database monitor
|