X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fdata%2Fslapd-ppolicy.conf;h=6ee15bf21e99f53c275a42f31386b68e7588b2a5;hb=6bdf7b150bed28cff1fafcdb0c3a9430a4c83bdf;hp=18b86458a91e6de08168762d6d2fd8a16c486875;hpb=bb0dc4b8eb3ddd333d7ee8d72efbf1ccb89fec30;p=openldap
diff --git a/tests/data/slapd-ppolicy.conf b/tests/data/slapd-ppolicy.conf
index 18b86458a9..6ee15bf21e 100644
--- a/tests/data/slapd-ppolicy.conf
+++ b/tests/data/slapd-ppolicy.conf
@@ -2,7 +2,7 @@
# $OpenLDAP$
## This work is part of OpenLDAP Software .
##
-## Copyright 1998-2004 The OpenLDAP Foundation.
+## Copyright 1998-2008 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 ./schema/nis.schema
-include ./schema/ppolicy.schema
-pidfile ./test-db/slapd.pid
-argsfile ./test-db/slapd.args
+include @SCHEMADIR@/core.schema
+include @SCHEMADIR@/cosine.schema
+include @SCHEMADIR@/inetorgperson.schema
+include @SCHEMADIR@/openldap.schema
+include @SCHEMADIR@/nis.schema
+include @SCHEMADIR@/ppolicy.schema
+pidfile @TESTDIR@/slapd.pid
+argsfile @TESTDIR@/slapd.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
@@ -35,15 +35,17 @@ argsfile ./test-db/slapd.args
database @BACKEND@
suffix "dc=example,dc=com"
-directory ./testrun/db.1.a
+directory @TESTDIR@/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
-index objectClass eq
+#bdb#index objectClass eq
+#hdb#index objectClass eq
+
overlay ppolicy
ppolicy_default "cn=Standard Policy,ou=Policies,dc=example,dc=com"
ppolicy_use_lockout
-access to attr=userpassword
+access to attrs=userpassword
by self write
by * auth
@@ -51,4 +53,4 @@ access to *
by self write
by * read
-#monitor#database monitor
+#monitor#database monitor