]> git.sur5r.net Git - openldap/blob - tests/data/slapd-proxycache.conf
5336c36765f02e562b2053db5d7cfa4ce4db8381
[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-2003 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#moduleload     ../servers/slapd/back-ldap/back_ldap.la
29 #pcachemod#moduleload ../servers/slapd/overlays/pcache.la
30
31 #######################################################################
32 # database definitions
33 #######################################################################
34
35 database        ldap
36 suffix          "dc=example,dc=com"
37 rootdn          "dc=example,dc=com"
38 uri             "@URI1@"
39
40 overlay proxycache
41 proxycache      @BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
42 proxyattrset 0          sn cn title uid
43 proxyattrset 1          mail postaladdress telephonenumber cn uid
44 proxytemplate           (|(cn=)(sn=)) 0 @CACHETTL@
45 proxytemplate           (sn=) 0 @CACHETTL@
46 proxytemplate           (uid=) 1 @CACHETTL@
47 proxytemplate           (mail=) 0 @CACHETTL@
48         
49 cachesize 20
50 directory ./testrun/db.2.a
51 index           objectClass     eq
52 index           cn,sn,uid,mail  pres,eq,sub