]> git.sur5r.net Git - openldap/blob - tests/data/slapd-ldapgluepeople.conf
assert administrative identity instead of the required one if doing auth check in...
[openldap] / tests / data / slapd-ldapgluepeople.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.2.pid
24 argsfile    ./testrun/slapd.2.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    to
36 authz-regexp    "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
37
38 #
39 # normal installations should protect root dse,
40 # cn=monitor, cn=schema, and cn=config
41 #
42
43 access to attr=userpassword
44         by dn.exact="uid=proxy,ou=People,dc=example,dc=com" read
45         by self =wx
46         by anonymous =x
47
48 access to *
49         by users read
50         by * search
51
52 # people branch
53 database        @BACKEND@
54 suffix          "ou=People,dc=example,dc=com"
55 directory       ./testrun/db.2.a
56 rootdn          "cn=Manager,ou=People,dc=example,dc=com"
57 rootpw          secret
58 index           objectClass     eq
59 index           cn,sn,uid       pres,eq,sub
60