1# stand-alone slapd config -- for testing (with translucent overlay)
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 2004-2011 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#indexdb#index		objectClass	eq
49#indexdb#index		cn,sn,uid	pres,eq,sub
50#ndb#dbname db_2
51#ndb#include @DATADIR@/ndb.conf
52
53overlay		translucent
54translucent_no_glue
55
56uri		@URI1@
57# "lastmod off" is not strictly required because the instance of back-ldap
58# added by the translucent overlay sets it off for the underlying database;
59# however, the local database needs to have "lastmod off" so it's here as
60# a reminder.
61lastmod	off
62acl-bind	binddn="uid=binder,o=translucent" credentials="bindtest"
63
64database config
65include		@TESTDIR@/configpw.conf
66