X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fdata%2Fslapd-translucent-local.conf;h=68b85c4cb063fc295ad7ea83e51b9453c067cf71;hb=779d6af56da8facfcaf2a4ad7ed689dc36bd986a;hp=3703de92b7aade2415f58cfe07ec0c1cd331bf93;hpb=01f81af860699e114c265ffd25ba20babdb7e1f3;p=openldap
diff --git a/tests/data/slapd-translucent-local.conf b/tests/data/slapd-translucent-local.conf
index 3703de92b7..68b85c4cb0 100644
--- a/tests/data/slapd-translucent-local.conf
+++ b/tests/data/slapd-translucent-local.conf
@@ -2,7 +2,7 @@
# $OpenLDAP$
## This work is part of OpenLDAP Software .
##
-## Copyright 2004 The OpenLDAP Foundation.
+## Copyright 2004-2007 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
@@ -14,15 +14,15 @@
## .
ucdata-path ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
#
-pidfile ./testrun/slapd.2.pid
-argsfile ./testrun/slapd.2.args
+pidfile @TESTDIR@/slapd.2.pid
+argsfile @TESTDIR@/slapd.2.args
#mod#modulepath ../servers/slapd/back-@BACKEND@
#mod#moduleload back_@BACKEND@.la
@@ -41,16 +41,24 @@ argsfile ./testrun/slapd.2.args
database @BACKEND@
suffix "o=translucent"
-directory ./testrun/db.2.a
+directory @TESTDIR@/db.2.a
rootdn "o=translucent"
rootpw secret
-index objectClass eq
-index cn,sn,uid pres,eq,sub
+#bdb#index objectClass eq
+#bdb#index cn,sn,uid pres,eq,sub
+#hdb#index objectClass eq
+#hdb#index cn,sn,uid pres,eq,sub
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 underling 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