xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-translucent-local.conf (revision bbde328be4e75ea9ad02e9715ea13ca54b797ada)
1# stand-alone slapd config -- for testing (with translucent overlay)
2# OpenLDAP: pkg/ldap/tests/data/slapd-translucent-local.conf,v 1.9.2.7 2009/01/22 00:01:16 kurt Exp
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 2004-2009 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"
44directory	@TESTDIR@/db.2.a
45rootdn		"o=translucent"
46rootpw		secret
47#bdb#index		objectClass	eq
48#bdb#index		cn,sn,uid	pres,eq,sub
49#hdb#index		objectClass	eq
50#hdb#index		cn,sn,uid	pres,eq,sub
51#ndb#dbname db_2
52#ndb#include @DATADIR@/ndb.conf
53
54overlay		translucent
55translucent_no_glue
56
57uri		@URI1@
58# "lastmod off" is not strictly required because the instance of back-ldap
59# added by the translucent overlay sets it off for the underlying database;
60# however, the local database needs to have "lastmod off" so it's here as
61# a reminder.
62lastmod	off
63acl-bind	binddn="uid=binder,o=translucent" credentials="bindtest"
64
65database config
66include		@TESTDIR@/configpw.conf
67