slapd-proxycache.conf revision 1.1.1.1
1# proxy cache slapd config 
2# $OpenLDAP: pkg/ldap/tests/data/slapd-proxycache.conf,v 1.24.2.6 2008/02/12 01:13:56 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
16include		@SCHEMADIR@/core.schema
17include		@SCHEMADIR@/cosine.schema
18include		@SCHEMADIR@/inetorgperson.schema
19include		@SCHEMADIR@/openldap.schema
20include		@SCHEMADIR@/nis.schema
21
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#ldapmod#modulepath	../servers/slapd/back-ldap/
28#ldapmod#moduleload	back_ldap.la
29#monitormod#modulepath ../servers/slapd/back-monitor/
30#monitormod#moduleload back_monitor.la
31#pcachemod#modulepath ../servers/slapd/overlays/
32#pcachemod#moduleload pcache.la
33
34#######################################################################
35# database definitions
36#######################################################################
37
38database	ldap
39suffix          "dc=example,dc=com"
40rootdn          "dc=example,dc=com"
41rootpw		"secret"
42uri		"@URI1@"
43
44limits		dn="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" size=1
45
46overlay		pcache
47proxycache	@BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
48proxyattrset 0  	sn cn title uid
49proxyattrset 1  	mail postaladdress telephonenumber cn uid
50proxytemplate   	(|(cn=)(sn=)) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
51proxytemplate   	(sn=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
52proxytemplate   	(uid=) 1 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
53proxytemplate   	(mail=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
54
55#bdb#cachesize 20
56#hdb#cachesize 20
57
58directory	@TESTDIR@/db.2.a
59#bdb#index		objectClass	eq
60#bdb#index		cn,sn,uid,mail	pres,eq,sub
61#hdb#index		objectClass	eq
62#hdb#index		cn,sn,uid,mail	pres,eq,sub
63
64#monitor#database	monitor
65