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>.
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
23 pidfile ./testrun/slapd.2.pid
24 argsfile ./testrun/slapd.2.args
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
31 #######################################################################
32 # database definitions
33 #######################################################################
36 suffix "dc=example,dc=com"
37 rootdn "dc=example,dc=com"
38 uri ldap://127.0.0.1:9011/
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@
50 directory ./testrun/db.2.a
52 index cn,sn,uid,mail pres,eq,sub