]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-translucent-local.conf
Merge remote branch 'origin/mdb.master'
[openldap] / tests / data / slapd-translucent-local.conf
index cafc4287bf6bc098b598ba77d7b9ed664c84f117..cff497ec3e68b041486e8ff522dd3953b767d5fe 100644 (file)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 2004-2006 The OpenLDAP Foundation.
+## Copyright 2004-2011 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -41,20 +41,25 @@ argsfile    @TESTDIR@/slapd.2.args
 
 database       @BACKEND@
 suffix         "o=translucent"
-directory      @TESTDIR@/db.2.a
 rootdn         "o=translucent"
 rootpw         secret
-#bdb#index             objectClass     eq
-#bdb#index             cn,sn,uid       pres,eq,sub
-#hdb#index             objectClass     eq
-#hdb#index             cn,sn,uid       pres,eq,sub
-#ldbm#index            objectClass     eq
-#ldbm#index            cn,sn,uid       pres,eq,sub
+#null#bind             on
+#~null~#directory      @TESTDIR@/db.2.a
+#indexdb#index         objectClass     eq
+#indexdb#index         cn,sn,uid       pres,eq,sub
+#ndb#dbname db_2
+#ndb#include @DATADIR@/ndb.conf
 
 overlay                translucent
 translucent_no_glue
 
-# XXX this uri really shouldn't be hardcoded
 uri            @URI1@
-lastmod                off
+# "lastmod off" is not strictly required because the instance of back-ldap
+# added by the translucent overlay sets it off for the underlying database;
+# however, the local database needs to have "lastmod off" so it's here as
+# a reminder.
+lastmod        off
 acl-bind       binddn="uid=binder,o=translucent" credentials="bindtest"
+
+database config
+include                @TESTDIR@/configpw.conf