]> git.sur5r.net Git - openldap/blob - tests/data/slapd-proxycache.conf
Remove DN from URI
[openldap] / tests / data / slapd-proxycache.conf
1 # proxy cache slapd config 
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2004 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
16 ucdata-path     ./ucdata
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          "o=University of Michigan,c=US"
37 rootdn          "o=University of Michigan,c=US"
38 uri             ldap://127.0.0.1:9011
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