]> git.sur5r.net Git - openldap/blob - tests/data/slapd-ppolicy.conf
751bb68d5cfb0cf7902af16b194567fab55c37b0
[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-2004 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 ucdata-path     ./ucdata
17 include ./schema/core.schema
18 include ./schema/cosine.schema
19 include ./schema/inetorgperson.schema
20 include ./schema/openldap.schema
21 include ./schema/nis.schema
22 include ./schema/ppolicy.schema
23 pidfile     ./test-db/slapd.pid
24 argsfile    ./test-db/slapd.args
25
26 #mod#modulepath ../servers/slapd/back-@BACKEND@/
27 #mod#moduleload back_@BACKEND@.la
28 #ppolicymod#moduleload ../servers/slapd/overlays/ppolicy.la
29
30 #######################################################################
31 # ldbm database definitions
32 #######################################################################
33
34 database        @BACKEND@
35 suffix          "o=University of Michigan,c=US"
36 directory       ./testrun/db.1.a
37 rootdn          "cn=Manager,o=University of Michigan,c=US"
38 rootpw          secret
39 index           objectClass eq
40 overlay         ppolicy
41 ppolicy_default "cn=Standard Policy,ou=Policies,o=University of Michigan,c=US"
42 ppolicy_use_lockout
43
44 access to attr=userpassword
45         by self write
46         by * auth
47
48 access to *
49         by self write
50         by * read