]> git.sur5r.net Git - openldap/blob - tests/data/slapd-translucent-local.conf
e4cc6ff571c2cae9373f449dcd3060ab3c9077bd
[openldap] / tests / data / slapd-translucent-local.conf
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-2017 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
16 ucdata-path     ./ucdata
17 include         @SCHEMADIR@/core.schema
18 include         @SCHEMADIR@/cosine.schema
19 include         @SCHEMADIR@/inetorgperson.schema
20 include         @SCHEMADIR@/openldap.schema
21 include         @SCHEMADIR@/nis.schema
22
23 #
24 pidfile         @TESTDIR@/slapd.2.pid
25 argsfile        @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
42 database        @BACKEND@
43 suffix          "o=translucent"
44 rootdn          "o=translucent"
45 rootpw          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
53 overlay         translucent
54 translucent_no_glue
55
56 uri             @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.
61 lastmod off
62 acl-bind        binddn="uid=binder,o=translucent" credentials="bindtest"
63
64 database config
65 include         @TESTDIR@/configpw.conf