1 # proxy cache slapd config
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-proxycache.conf,v 1.6.2.4 2003/12/15 22
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
6 ## Copyright 1998-2003 The OpenLDAP Foundation.
7 ## All rights reserved.
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
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>.
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
24 pidfile ./testrun/slapd.2.pid
25 argsfile ./testrun/slapd.2.args
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
32 #######################################################################
33 # database definitions
34 #######################################################################
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
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@
51 directory ./testrun/db.2.a
53 index cn,sn,uid,mail pres,eq,sub