xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-ldapgluepeople.conf (revision 96230fab84e26a6435963032070e916a951a8b2e)
1# master slapd config -- for testing
2# $OpenLDAP: pkg/ldap/tests/data/slapd-ldapgluepeople.conf,v 1.10.2.5 2008/02/12 01:10:27 quanah Exp $
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2008 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"
54directory	@TESTDIR@/db.2.a
55rootdn		"cn=Manager,ou=People,dc=example,dc=com"
56rootpw		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
62#monitor#database	monitor
63