slapd-ppolicy.conf 1.63 KB
Newer Older
1
2
3
4
# master slapd config -- for testing
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
Kurt Zeilenga's avatar
Kurt Zeilenga committed
5
## Copyright 1998-2006 The OpenLDAP Foundation.
6
7
8
9
10
11
12
13
14
15
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.

Kurt Zeilenga's avatar
Kurt Zeilenga committed
16
17
18
19
20
21
22
23
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
24
25
26

#mod#modulepath	../servers/slapd/back-@BACKEND@/
#mod#moduleload	back_@BACKEND@.la
27
28
29
30
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la
#ppolicymod#modulepath ../servers/slapd/overlays/
#ppolicymod#moduleload ppolicy.la
31
32

#######################################################################
33
# database definitions
34
35
36
#######################################################################

database	@BACKEND@
Pierangelo Masarati's avatar
Pierangelo Masarati committed
37
suffix		"dc=example,dc=com"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
38
directory	@TESTDIR@/db.1.a
Pierangelo Masarati's avatar
Pierangelo Masarati committed
39
rootdn		"cn=Manager,dc=example,dc=com"
40
rootpw		secret
41
42
43
#bdb#index		objectClass eq
#hdb#index		objectClass eq
#ldbm#index		objectClass eq
44
overlay		ppolicy
Pierangelo Masarati's avatar
Pierangelo Masarati committed
45
ppolicy_default	"cn=Standard Policy,ou=Policies,dc=example,dc=com"
Howard Chu's avatar
Howard Chu committed
46
ppolicy_use_lockout
47

48
access to attrs=userpassword
49
50
51
52
53
54
	by self write
	by * auth

access to *
	by self write
	by * read
55

Kurt Zeilenga's avatar
Kurt Zeilenga committed
56
#monitor#database	monitor