X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fdata%2Fslapd-valsort.conf;h=229d5c7f28674ff190d96c77f3eb772af85933b4;hb=ca15238dfbd58d46126eb2bd91bc987f03207cd4;hp=7b8cbf453338dbc6d55bbe9b457c849b9d017a02;hpb=27467a79e7efe92c12c45283288d2a824266b849;p=openldap
diff --git a/tests/data/slapd-valsort.conf b/tests/data/slapd-valsort.conf
index 7b8cbf4533..229d5c7f28 100644
--- a/tests/data/slapd-valsort.conf
+++ b/tests/data/slapd-valsort.conf
@@ -2,7 +2,7 @@
# $OpenLDAP$
## This work is part of OpenLDAP Software .
##
-## Copyright 2004-2005 The OpenLDAP Foundation.
+## Copyright 2004-2011 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
@@ -13,14 +13,14 @@
## top-level directory of the distribution or, alternatively, at
## .
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
#
-pidfile ./testrun/slapd.1.pid
-argsfile ./testrun/slapd.1.args
+pidfile @TESTDIR@/slapd.1.pid
+argsfile @TESTDIR@/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
@@ -34,15 +34,13 @@ argsfile ./testrun/slapd.1.args
database @BACKEND@
suffix "o=valsort"
-directory ./testrun/db.1.a
rootdn "cn=Manager,o=valsort"
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~#directory @TESTDIR@/db.1.a
+#indexdb#index objectClass eq
+#indexdb#index cn,sn,uid pres,eq,sub
+#ndb#dbname db_1
+#ndb#include @DATADIR@/ndb.conf
overlay valsort
valsort-attr sn ou=users,o=valsort alpha-ascend
@@ -52,6 +50,6 @@ valsort-attr ou ou=users,o=valsort weighted
valsort-attr employeeType ou=users,o=valsort weighted alpha-ascend
database config
-rootpw secret
+include @TESTDIR@/configpw.conf
#monitor#database monitor