]> git.sur5r.net Git - openldap/blob - tests/data/slapd-pw.conf
3b3d28605f7b3359b46f240f937990d76a8cb9cd
[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-2007 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 include         @SCHEMADIR@/core.schema
18 include         @SCHEMADIR@/cosine.schema
19 include         @SCHEMADIR@/inetorgperson.schema
20 include         @SCHEMADIR@/openldap.schema
21 include         @SCHEMADIR@/nis.schema
22 pidfile         @TESTDIR@/slapd.1.pid
23 argsfile        @TESTDIR@/slapd.1.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
30 #######################################################################
31 # database definitions
32 #######################################################################
33
34 database        @BACKEND@
35 #ldbm#cachesize 0
36 suffix          "dc=example,dc=com"
37 directory       @TESTDIR@/db.1.a
38 rootdn          "cn=Manager,dc=example,dc=com"
39 rootpw          secret
40 #bdb#index              objectClass     eq
41 #bdb#index              cn,sn,uid       pres,eq,sub
42 #hdb#index              objectClass     eq
43 #hdb#index              cn,sn,uid       pres,eq,sub
44 #ldbm#index             objectClass     eq
45 #ldbm#index             cn,sn,uid       pres,eq,sub
46
47 #
48 # normal installations should protect root dse,
49 # cn=monitor, cn=schema, and cn=config
50 #
51
52 access to attrs=userpassword
53         by anonymous auth
54         by self write
55
56 access to *
57         by self write
58         by * read
59
60 #monitor#database       monitor