| 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-2021 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_@[email protected] |
| 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 "ou=sub,o=translucent" |
| 44 |
rootdn "ou=sub,o=translucent" |
| 45 |
rootpw secret |
| 46 |
subordinate |
| 47 |
#null#bind on |
| 48 |
#~null~#directory @TESTDIR@/db.2.a |
| 49 |
#indexdb#index objectClass eq |
| 50 |
#indexdb#index cn,sn,uid pres,eq,sub |
| 51 |
#ndb#dbname db_2 |
| 52 |
#ndb#include @DATADIR@/ndb.conf |
| 53 |
|
| 54 |
database @BACKEND@ |
| 55 |
suffix "o=translucent" |
| 56 |
rootdn "o=translucent" |
| 57 |
rootpw secret |
| 58 |
#null#bind on |
| 59 |
#~null~#directory @TESTDIR@/db.2.b |
| 60 |
#indexdb#index objectClass eq |
| 61 |
#indexdb#index cn,sn,uid pres,eq,sub |
| 62 |
#ndb#dbname db_3 |
| 63 |
#ndb#include @DATADIR@/ndb.conf |
| 64 |
|
| 65 |
overlay translucent |
| 66 |
translucent_local employeeType |
| 67 |
|
| 68 |
uri @URI1@ |
| 69 |
# "lastmod off" is not strictly required because the instance of back-ldap |
| 70 |
# added by the translucent overlay sets it off for the underlying database; |
| 71 |
# however, the local database needs to have "lastmod off" so it's here as |
| 72 |
# a reminder. |
| 73 |
lastmod off |
| 74 |
acl-bind binddn="uid=binder,o=translucent" credentials="bindtest" |
| 75 |
|
| 76 |
database config |
| 77 |
include @TESTDIR@/configpw.conf |