]> git.sur5r.net Git - openldap/blob - tests/data/slapd-ldapgluepeople.conf
e23eaea440596d7b1e2b7a22256f8eb5d4cbe474
[openldap] / tests / data / slapd-ldapgluepeople.conf
1 # master slapd config -- for testing
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2009 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15
16 #ucdata-path    ./ucdata
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.2.pid
23 argsfile        @TESTDIR@/slapd.2.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 authz-policy    to
35 authz-regexp    "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
36
37 #
38 # normal installations should protect root dse,
39 # cn=monitor, cn=schema, and cn=config
40 #
41
42 access to attrs=userpassword
43         by dn.exact="uid=proxy,ou=People,dc=example,dc=com" read
44         by self =wx
45         by anonymous =x
46
47 access to *
48         by users read
49         by * search
50
51 # people branch
52 database        @BACKEND@
53 suffix          "ou=People,dc=example,dc=com"
54 directory       @TESTDIR@/db.2.a
55 rootdn          "cn=Manager,ou=People,dc=example,dc=com"
56 rootpw          secret
57 #bdb#index              objectClass     eq
58 #bdb#index              cn,sn,uid       pres,eq,sub
59 #hdb#index              objectClass     eq
60 #hdb#index              cn,sn,uid       pres,eq,sub
61 #ndb#dbname db_5
62 #ndb#include @DATADIR@/ndb.conf
63
64 #monitor#database       monitor