1# master slapd config -- for testing
2# OpenLDAP: pkg/ldap/tests/data/slapd-ldapgluepeople.conf,v 1.10.2.9 2010/04/19 19:14:28 quanah Exp
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2010 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
17include		@SCHEMADIR@/core.schema
18include		@SCHEMADIR@/cosine.schema
19include		@SCHEMADIR@/inetorgperson.schema
20include		@SCHEMADIR@/openldap.schema
21include		@SCHEMADIR@/nis.schema
22pidfile		@TESTDIR@/slapd.2.pid
23argsfile	@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
34authz-policy	to
35authz-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
42access 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
47access to *
48	by users read
49	by * search
50
51# people branch
52database        @BACKEND@
53suffix          "ou=People,dc=example,dc=com"
54rootdn		"cn=Manager,ou=People,dc=example,dc=com"
55rootpw		secret
56#null#bind		on
57#~null~#directory	@TESTDIR@/db.2.a
58#bdb#index		objectClass	eq
59#bdb#index		cn,sn,uid	pres,eq,sub
60#hdb#index		objectClass	eq
61#hdb#index		cn,sn,uid	pres,eq,sub
62#ndb#dbname db_5
63#ndb#include @DATADIR@/ndb.conf
64
65#monitor#database	monitor
66