]> git.sur5r.net Git - openldap/blob - tests/data/slapd-whoami.conf
more on fixing escaped semicolon in normalized DN
[openldap] / tests / data / slapd-whoami.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 authz-policy    both
36 authz-regexp    "^uid=group/([^,]+),.*" "ldap:///dc=example,dc=com??sub?cn=$1"
37 authz-regexp    "^uid=([^,]+),.*" "ldap:///dc=example,dc=com??sub?uid=$1"
38
39 #
40 # normal installations should protect root dse,
41 # cn=monitor, cn=schema, and cn=config
42 #
43
44 access to attr=authzFrom,authzTo
45         by * auth
46
47 access to attr=userpassword
48         by anonymous auth
49         by self write
50
51 access to *
52         by self write
53         by * read
54
55 database        @BACKEND@
56 #ldbm#cachesize 0
57 suffix          "dc=example,dc=com"
58 directory       ./testrun/db.1.a
59 rootdn          "cn=Manager,dc=example,dc=com"
60 rootpw          secret
61 index           objectClass     eq
62 index           cn,sn,uid       pres,eq,sub
63