]> git.sur5r.net Git - openldap/blob - tests/data/slapd-proxycache.conf
Sync with HEAD
[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-2005 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 ./schema/core.schema
18 include ./schema/cosine.schema
19 include ./schema/inetorgperson.schema
20 include ./schema/openldap.schema
21 include ./schema/nis.schema
22
23 pidfile     ./testrun/slapd.2.pid
24 argsfile    ./testrun/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 uri             "@URI1@"
43
44 overlay         pcache
45 proxycache      @BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
46 proxyattrset 0          sn cn title uid
47 proxyattrset 1          mail postaladdress telephonenumber cn uid
48 proxytemplate           (|(cn=)(sn=)) 0 @CACHETTL@
49 proxytemplate           (sn=) 0 @CACHETTL@
50 proxytemplate           (uid=) 1 @CACHETTL@
51 proxytemplate           (mail=) 0 @CACHETTL@
52         
53 #bdb#cachesize 20
54 #hdb#cachesize 20
55 #ldbm#cachesize 20
56 directory       ./testrun/db.2.a
57 #bdb#index              objectClass     eq
58 #bdb#index              cn,sn,uid,mail  pres,eq,sub
59 #hdb#index              objectClass     eq
60 #hdb#index              cn,sn,uid,mail  pres,eq,sub
61 #ldbm#index             objectClass     eq
62 #ldbm#index             cn,sn,uid,mail  pres,eq,sub
63
64 #monitor#database       monitor