]> git.sur5r.net Git - openldap/blob - tests/data/slapd-ppolicy.conf
allow most tests to run for other backend types (with limitations)
[openldap] / tests / data / slapd-ppolicy.conf
1 # master slapd config -- for testing
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2005 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15
16 include ./schema/core.schema
17 include ./schema/cosine.schema
18 include ./schema/inetorgperson.schema
19 include ./schema/openldap.schema
20 include ./schema/nis.schema
21 include ./schema/ppolicy.schema
22 pidfile     ./test-db/slapd.pid
23 argsfile    ./test-db/slapd.args
24
25 #mod#modulepath ../servers/slapd/back-@BACKEND@/
26 #mod#moduleload back_@BACKEND@.la
27 #monitormod#modulepath ../servers/slapd/back-monitor/
28 #monitormod#moduleload back_monitor.la
29 #ppolicymod#modulepath ../servers/slapd/overlays/
30 #ppolicymod#moduleload ppolicy.la
31
32 #######################################################################
33 # database definitions
34 #######################################################################
35
36 database        @BACKEND@
37 suffix          "dc=example,dc=com"
38 directory       ./testrun/db.1.a
39 rootdn          "cn=Manager,dc=example,dc=com"
40 rootpw          secret
41 #bdb#index              objectClass eq
42 #hdb#index              objectClass eq
43 #ldbm#index             objectClass eq
44 overlay         ppolicy
45 ppolicy_default "cn=Standard Policy,ou=Policies,dc=example,dc=com"
46 ppolicy_use_lockout
47
48 access to attr=userpassword
49         by self write
50         by * auth
51
52 access to *
53         by self write
54         by * read
55
56 #monitor#database monitor