1# stand-alone slapd config -- for testing (with translucent overlay)
2# OpenLDAP: pkg/ldap/tests/data/slapd-translucent-local.conf,v 1.9.2.9 2010/04/19 19:14:30 quanah Exp
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 2004-2010 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
16ucdata-path	./ucdata
17include		@SCHEMADIR@/core.schema
18include		@SCHEMADIR@/cosine.schema
19include		@SCHEMADIR@/inetorgperson.schema
20include		@SCHEMADIR@/openldap.schema
21include		@SCHEMADIR@/nis.schema
22
23#
24pidfile		@TESTDIR@/slapd.2.pid
25argsfile	@TESTDIR@/slapd.2.args
26
27#mod#modulepath	../servers/slapd/back-@BACKEND@
28#mod#moduleload	back_@BACKEND@.la
29#ldapmod#modulepath ../servers/slapd/back-ldap
30#ldapmod#moduleload back_ldap.la
31#translucentmod#modulepath	../servers/slapd/overlays
32#translucentmod#moduleload	translucent.la
33#monitormod#modulepath	../servers/slapd/back-monitor
34#monitormod#moduleload	back_monitor.la
35
36#######################################################################
37# database definitions
38#######################################################################
39
40#monitor#database	monitor
41
42database	@BACKEND@
43suffix		"o=translucent"
44rootdn		"o=translucent"
45rootpw		secret
46#null#bind		on
47#~null~#directory	@TESTDIR@/db.2.a
48#bdb#index		objectClass	eq
49#bdb#index		cn,sn,uid	pres,eq,sub
50#hdb#index		objectClass	eq
51#hdb#index		cn,sn,uid	pres,eq,sub
52#ndb#dbname db_2
53#ndb#include @DATADIR@/ndb.conf
54
55overlay		translucent
56translucent_no_glue
57
58uri		@URI1@
59# "lastmod off" is not strictly required because the instance of back-ldap
60# added by the translucent overlay sets it off for the underlying database;
61# however, the local database needs to have "lastmod off" so it's here as
62# a reminder.
63lastmod	off
64acl-bind	binddn="uid=binder,o=translucent" credentials="bindtest"
65
66database config
67include		@TESTDIR@/configpw.conf
68