]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-translucent-local.conf
Delete unused idl_cache_entry rwlock field
[openldap] / tests / data / slapd-translucent-local.conf
index 5d7737e8b45b7ef2d11227460c9a0bf6f97227ba..df59b2313e3af368c4c8bd9a63f881bafde6cea4 100644 (file)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## 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
 ## <http://www.OpenLDAP.org/license.html>.
 
 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,7 +41,7 @@ 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
 #bdb#index             objectClass     eq
@@ -54,7 +54,13 @@ rootpw               secret
 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                "configpw.conf"