]> git.sur5r.net Git - openldap/blob - tests/data/slapd-proxycache.conf
handle sizelimit in caching (in partial fulfilment of ITS#5114)
[openldap] / tests / data / slapd-proxycache.conf
1 # proxy cache slapd config 
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-proxycache.conf,v 1.6.2.4 2003/12/15 22
3  :05:29 kurt Exp $
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ##
6 ## Copyright 1998-2007 The OpenLDAP Foundation.
7 ## All rights reserved.
8 ##
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
11 ## Public License.
12 ##
13 ## A copy of this license is available in the file LICENSE in the
14 ## top-level directory of the distribution or, alternatively, at
15 ## <http://www.OpenLDAP.org/license.html>.
16
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
23 pidfile         @TESTDIR@/slapd.2.pid
24 argsfile        @TESTDIR@/slapd.2.args
25
26 #mod#modulepath ../servers/slapd/back-@BACKEND@/
27 #mod#moduleload back_@BACKEND@.la
28 #ldapmod#modulepath     ../servers/slapd/back-ldap/
29 #ldapmod#moduleload     back_ldap.la
30 #monitormod#modulepath ../servers/slapd/back-monitor/
31 #monitormod#moduleload back_monitor.la
32 #pcachemod#modulepath ../servers/slapd/overlays/
33 #pcachemod#moduleload pcache.la
34
35 #######################################################################
36 # database definitions
37 #######################################################################
38
39 database        ldap
40 suffix          "dc=example,dc=com"
41 rootdn          "dc=example,dc=com"
42 rootpw          "secret"
43 uri             "@URI1@"
44
45 limits          dn="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" size=1
46
47 overlay         pcache
48 proxycache      @BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
49 proxyattrset 0          sn cn title uid
50 proxyattrset 1          mail postaladdress telephonenumber cn uid
51 proxytemplate           (|(cn=)(sn=)) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
52 proxytemplate           (sn=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
53 proxytemplate           (uid=) 1 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
54 proxytemplate           (mail=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
55
56 #bdb#cachesize 20
57 #hdb#cachesize 20
58
59 directory       @TESTDIR@/db.2.a
60 #bdb#index              objectClass     eq
61 #bdb#index              cn,sn,uid,mail  pres,eq,sub
62 #hdb#index              objectClass     eq
63 #hdb#index              cn,sn,uid,mail  pres,eq,sub
64
65 #monitor#database       monitor