X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fdata%2Fslapd-ppolicy.conf;h=6ee15bf21e99f53c275a42f31386b68e7588b2a5;hb=6bdf7b150bed28cff1fafcdb0c3a9430a4c83bdf;hp=751bb68d5cfb0cf7902af16b194567fab55c37b0;hpb=18a062dad69413f631985c79969b96632adffec8;p=openldap diff --git a/tests/data/slapd-ppolicy.conf b/tests/data/slapd-ppolicy.conf index 751bb68d5c..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,38 +13,44 @@ ## top-level directory of the distribution or, alternatively, at ## . -ucdata-path ./ucdata -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 -#ppolicymod#moduleload ../servers/slapd/overlays/ppolicy.la +#monitormod#modulepath ../servers/slapd/back-monitor/ +#monitormod#moduleload back_monitor.la +#ppolicymod#modulepath ../servers/slapd/overlays/ +#ppolicymod#moduleload ppolicy.la ####################################################################### -# ldbm database definitions +# database definitions ####################################################################### database @BACKEND@ -suffix "o=University of Michigan,c=US" -directory ./testrun/db.1.a -rootdn "cn=Manager,o=University of Michigan,c=US" +suffix "dc=example,dc=com" +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,o=University of Michigan,c=US" +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 access to * by self write by * read + +#monitor#database monitor