]> git.sur5r.net Git - openldap/blob - tests/data/slapd-ldapglue.conf
This patch is for a component filter. please refer ITS#3260 for detail
[openldap] / tests / data / slapd-ldapglue.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 #mod#modulepath ../servers/slapd/back-@BACKEND@/
27 #mod#moduleload back_@BACKEND@.la
28 #ldapmod#modulepath ../servers/slapd/back-ldap/
29 #ldapmod#moduleload back_ldap.la
30 #monitormod#modulepath ../servers/slapd/back-monitor/
31 #monitormod#moduleload back_monitor.la
32
33 #######################################################################
34 # ldbm database definitions
35 #######################################################################
36
37 authz-regexp    "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
38
39 #
40 # normal installations should protect root dse,
41 # cn=monitor, cn=schema, and cn=config
42 #
43
44 access to attr=userpassword
45         by self =wx
46         by anonymous =x
47
48 access to *
49         by * read
50
51 # people branch
52 database        ldap
53 suffix          "ou=People,dc=example,dc=com"
54 uri             "@URI2@"
55 # FIXME: doesn't work with authz=native
56 #sasl#idassert-method  sasl authcid=proxy cred=proxy @SASL_MECH@
57 #nosasl#idassert-method  simple
58 #nosasl#idassert-authcDN "uid=proxy,ou=People,dc=example,dc=com"
59 #nosasl#idassert-passwd  proxy
60 idassert-mode   self
61 subordinate
62
63 # groups branch
64 database        ldap
65 suffix          "ou=Groups,dc=example,dc=com"
66 uri             "@URI3@"
67 # FIXME: doesn't work with authz=native
68 #sasl#idassert-method  sasl authcid=proxy cred=proxy @SASL_MECH@
69 #nosasl#idassert-method  simple
70 #nosasl#idassert-authcDN "uid=proxy,ou=Groups,dc=example,dc=com"
71 #nosasl#idassert-passwd  proxy
72 idassert-mode    self
73 subordinate
74
75 # root
76 database        @BACKEND@
77 suffix          "dc=example,dc=com"
78 directory       ./testrun/db.1.a
79 rootdn          "cn=Manager,dc=example,dc=com"
80 rootpw          secret
81 index           objectClass     eq
82 index           cn,sn,uid       pres,eq,sub
83
84 #monitor#database monitor