slapd-ldapglue.conf 2.58 KB
Newer Older
1
2
3
4
5
# master slapd config -- for testing
# $OpenLDAP: pkg/ldap/tests/data/slapd-pw.conf,v 1.19.2.4 2003/12/15 22:05:29 
 kurt Exp $
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
Kurt Zeilenga's avatar
Kurt Zeilenga committed
6
## Copyright 1998-2006 The OpenLDAP Foundation.
7
8
9
10
11
12
13
14
15
16
17
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.

#ucdata-path	./ucdata
Kurt Zeilenga's avatar
Kurt Zeilenga committed
18
19
20
21
22
23
24
include		@SCHEMADIR@/core.schema
include		@SCHEMADIR@/cosine.schema
include		@SCHEMADIR@/inetorgperson.schema
include		@SCHEMADIR@/openldap.schema
include		@SCHEMADIR@/nis.schema
pidfile		@TESTDIR@/slapd.1.pid
argsfile	@TESTDIR@/slapd.1.args
25
26
27

#mod#modulepath	../servers/slapd/back-@BACKEND@/
#mod#moduleload	back_@BACKEND@.la
28
29
30
31
#ldapmod#modulepath ../servers/slapd/back-ldap/
#ldapmod#moduleload back_ldap.la
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la
32
33

#######################################################################
34
# database definitions
35
36
37
38
39
40
41
42
43
#######################################################################

authz-regexp	"^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"

#
# normal installations should protect root dse,
# cn=monitor, cn=schema, and cn=config
#

44
access to attrs=userpassword
45
46
47
48
49
50
51
52
53
	by self =wx
	by anonymous =x

access to *
	by * read

# groups branch
database        ldap
suffix          "ou=Groups,dc=example,dc=com"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
54
subordinate
55
56
uri             "@URI3@"
# FIXME: doesn't work with authz=native
57
58
#sasl#idassert-bind	bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
#nosasl#idassert-bind	bindmethod=simple binddn="uid=proxy,ou=Groups,dc=example,dc=com" credentials=proxy mode=self
59

Kurt Zeilenga's avatar
Kurt Zeilenga committed
60
61
62
63
64
65
66
67
68
# people branch
database        ldap
suffix          "ou=People,dc=example,dc=com"
subordinate
uri             "@URI2@"
# FIXME: doesn't work with authz=native
#sasl#idassert-bind	bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
#nosasl#idassert-bind	bindmethod=simple binddn="uid=proxy,ou=People,dc=example,dc=com" credentials=proxy mode=self

69
70
71
# root
database        @BACKEND@
suffix          "dc=example,dc=com"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
72
directory	@TESTDIR@/db.1.a
73
74
rootdn		"cn=Manager,dc=example,dc=com"
rootpw		secret
Kurt Zeilenga's avatar
Kurt Zeilenga committed
75
76
77
78
79
80
#bdb#index		objectClass	eq
#bdb#index		cn,sn,uid	pres,eq,sub
#hdb#index		objectClass	eq
#hdb#index		cn,sn,uid	pres,eq,sub
#ldbm#index		objectClass	eq
#ldbm#index		cn,sn,uid	pres,eq,sub
81

Kurt Zeilenga's avatar
Kurt Zeilenga committed
82
#monitor#database	monitor