# master slapd config -- for testing
# $OpenLDAP$
## This work is part of OpenLDAP Software .
##
## Copyright 1998-2005 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
## .
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
include ./schema/openldap.schema
include ./schema/nis.schema
include ./schema/ppolicy.schema
pidfile ./test-db/slapd.m.pid
argsfile ./test-db/slapd.m.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#relaymod#modulepath ../servers/slapd/back-relay/
#relaymod#moduleload back_relay.la
#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
#rwmmod#modulepath ../servers/slapd/overlays/
#rwmmod#moduleload rwm.la
overlay rwm
rwm-suffixmassage "o=Example,c=US" "dc=example,dc=com"
#######################################################################
# database definitions
#######################################################################
# remote
database ldap
suffix "ou=Meta,dc=example,dc=com"
uri "@URI2@"
rootdn "cn=Manager,dc=example,dc=com"
chase-referrals no
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,dc=example,dc=com"
# local
database ldap
suffix "dc=example,dc=com"
uri "@URI1@"
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
chase-referrals no
idassert-bind bindmethod=simple
binddn="cn=Manager,dc=example,dc=com"
credentials="secret"
mode=none
flags=non-prescriptive
idassert-authzfrom "dn.exact:cn=Manager,dc=example,dc=com"
overlay glue
glue-sub "ou=Meta,dc=example,dc=com"
#monitor#database monitor