]> git.sur5r.net Git - openldap/blob - tests/data/slapd-ldapglue.conf
Add valsort overlay
[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-2005 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 #gluemod#moduleload ../servers/slapd/overlays/glue.la
33
34 #######################################################################
35 # database definitions
36 #######################################################################
37
38 authz-regexp    "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
39
40 #
41 # normal installations should protect root dse,
42 # cn=monitor, cn=schema, and cn=config
43 #
44
45 access to attr=userpassword
46         by self =wx
47         by anonymous =x
48
49 access to *
50         by * read
51
52 # people branch
53 database        ldap
54 suffix          "ou=People,dc=example,dc=com"
55 uri             "@URI2@"
56 # FIXME: doesn't work with authz=native
57 #sasl#idassert-bind     bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
58 #nosasl#idassert-bind   bindmethod=simple binddn="uid=proxy,ou=People,dc=example,dc=com" credentials=proxy mode=self
59
60 # groups branch
61 database        ldap
62 suffix          "ou=Groups,dc=example,dc=com"
63 uri             "@URI3@"
64 # FIXME: doesn't work with authz=native
65 #sasl#idassert-bind     bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
66 #nosasl#idassert-bind   bindmethod=simple binddn="uid=proxy,ou=Groups,dc=example,dc=com" credentials=proxy mode=self
67
68 # root
69 database        @BACKEND@
70 suffix          "dc=example,dc=com"
71 directory       ./testrun/db.1.a
72 rootdn          "cn=Manager,dc=example,dc=com"
73 rootpw          secret
74 #bdb#index              objectClass     eq
75 #bdb#index              cn,sn,uid       pres,eq,sub
76 #hdb#index              objectClass     eq
77 #hdb#index              cn,sn,uid       pres,eq,sub
78 #ldbm#index             objectClass     eq
79 #ldbm#index             cn,sn,uid       pres,eq,sub
80 overlay         glue
81 glue-sub        "ou=groups,dc=example,dc=com"
82 glue-sub        "ou=people,dc=example,dc=com"
83
84 #monitor#database       monitor