]> git.sur5r.net Git - openldap/blob - tests/data/slapd-pw.conf
d9ab0c911547464dcecccd4c8c3007e8aaea0a00
[openldap] / tests / data / slapd-pw.conf
1 # master slapd config -- for testing
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-pw.conf,v 1.19.2.4 2003/12/15 22:05:29 
3  kurt Exp $
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ##
6 ## Copyright 1998-2003 The OpenLDAP Foundation.
7 ## All rights reserved.
8 ##
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
11 ## Public License.
12 ##
13 ## A copy of this license is available in the file LICENSE in the
14 ## top-level directory of the distribution or, alternatively, at
15 ## <http://www.OpenLDAP.org/license.html>.
16
17 ucdata-path     ./ucdata
18 include ./schema/core.schema
19 include ./schema/cosine.schema
20 include ./schema/inetorgperson.schema
21 include ./schema/openldap.schema
22 include ./schema/nis.schema
23 pidfile     ./testrun/slapd.1.pid
24 argsfile    ./testrun/slapd.1.args
25
26 # password-hash {md5}
27
28 #mod#modulepath ../servers/slapd/back-@BACKEND@/
29 #mod#moduleload back_@BACKEND@.la
30
31 #######################################################################
32 # ldbm database definitions
33 #######################################################################
34
35 database        @BACKEND@
36 #ldbm#cachesize 0
37 suffix          "dc=example,dc=com"
38 directory       ./testrun/db.1.a
39 rootdn          "cn=Manager,dc=example,dc=com"
40 rootpw          secret
41 index           objectClass     eq
42 index           cn,sn,uid       pres,eq,sub
43
44 #
45 # normal installations should protect root dse,
46 # cn=monitor, cn=schema, and cn=config
47 #
48
49 access to attr=userpassword
50         by anonymous auth
51         by self write
52
53 access to *
54         by self write
55         by * read