]> git.sur5r.net Git - openldap/blob - tests/data/slapd-pw.conf
25a0646f2a5d8634e84c685a9d9764e44c6bfa0b
[openldap] / tests / data / slapd-pw.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-2003 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 pidfile     ./testrun/slapd.1.pid
23 argsfile    ./testrun/slapd.1.args
24
25 # password-hash {md5}
26
27 modulepath      ../servers/slapd/back-@BACKEND@/
28 @MODULELOAD@
29
30 #######################################################################
31 # ldbm database definitions
32 #######################################################################
33
34 database        @BACKEND@
35 #ldbm#cachesize 0
36 suffix          "o=University of Michigan,c=US"
37 directory       ./testrun/db.1.a
38 rootdn          "cn=Manager,o=University of Michigan,c=US"
39 rootpw          secret
40 index           objectClass     eq
41 index           cn,sn,uid       pres,eq,sub
42
43 #
44 # normal installations should protect root dse,
45 # cn=monitor, cn=schema, and cn=config
46 #
47
48 access to attr=userpassword
49         by anonymous auth
50         by self write
51
52 access to *
53         by self write
54         by * read