# proxy slapd config -- for regression of back-ldap server unavailable issue
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2021 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
## <http://www.OpenLDAP.org/license.html>.

include		@SCHEMADIR@/core.schema
include		@SCHEMADIR@/cosine.schema
include		@SCHEMADIR@/inetorgperson.schema
include		@SCHEMADIR@/openldap.schema
include		@SCHEMADIR@/nis.schema
include		@DATADIR@/test.schema

#
pidfile		@TESTDIR@/slapd.2.pid
argsfile	@TESTDIR@/slapd.2.args

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

#######################################################################
# database definitions
#######################################################################

database	ldap
suffix		"dc=example,dc=com"
uri		@URI1@
idassert-bind	bindmethod=simple
		binddn="cn=manager,dc=example,dc=com"
		credentials="secret"
		mode=self
		flags=non-prescriptive

#monitor#database	monitor
