]> git.sur5r.net Git - openldap/blob - tests/data/slapd-proxycache.conf
more on fixing escaped semicolon in normalized DN
[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 ucdata-path     ./ucdata
18 include ./schema/core.schema
19 include ./schema/cosine.schema
20 include ./schema/inetorgperson.schema
21 include ./schema/openldap.schema
22 include ./schema/nis.schema
23
24 pidfile     ./testrun/slapd.2.pid
25 argsfile    ./testrun/slapd.2.args
26
27 #mod#modulepath ../servers/slapd/back-@BACKEND@/
28 #mod#moduleload back_@BACKEND@.la
29 #ldapmod#moduleload     ../servers/slapd/back-ldap/back_ldap.la
30 #pcachemod#moduleload ../servers/slapd/overlays/pcache.la
31
32 #######################################################################
33 # database definitions
34 #######################################################################
35
36 database        ldap
37 suffix          "dc=example,dc=com"
38 rootdn          "dc=example,dc=com"
39 uri             ldap://127.0.0.1:9011/o=University%20of%20Michigan%2cc=US
40
41 overlay proxycache
42 proxycache      @BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
43 proxyattrset 0          sn cn title uid
44 proxyattrset 1          mail postaladdress telephonenumber cn uid
45 proxytemplate           (|(cn=)(sn=)) 0 @CACHETTL@
46 proxytemplate           (sn=) 0 @CACHETTL@
47 proxytemplate           (uid=) 1 @CACHETTL@
48 proxytemplate           (mail=) 0 @CACHETTL@
49         
50 cachesize 20
51 directory ./testrun/db.2.a
52 index           objectClass     eq
53 index           cn,sn,uid,mail  pres,eq,sub