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-2005 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#modulepath ../servers/slapd/back-ldap/
29 #ldapmod#moduleload back_ldap.la
30 #monitormod#modulepath ../servers/slapd/back-monitor/
31 #monitormod#moduleload back_monitor.la
32 #pcachemod#modulepath ../servers/slapd/overlays/
33 #pcachemod#moduleload pcache.la
35 #######################################################################
36 # database definitions
37 #######################################################################
40 suffix "dc=example,dc=com"
41 rootdn "dc=example,dc=com"
45 proxycache @BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
46 proxyattrset 0 sn cn title uid
47 proxyattrset 1 mail postaladdress telephonenumber cn uid
48 proxytemplate (|(cn=)(sn=)) 0 @CACHETTL@
49 proxytemplate (sn=) 0 @CACHETTL@
50 proxytemplate (uid=) 1 @CACHETTL@
51 proxytemplate (mail=) 0 @CACHETTL@
56 directory ./testrun/db.2.a
57 #bdb#index objectClass eq
58 #bdb#index cn,sn,uid,mail pres,eq,sub
59 #hdb#index objectClass eq
60 #hdb#index cn,sn,uid,mail pres,eq,sub
61 #ldbm#index objectClass eq
62 #ldbm#index cn,sn,uid,mail pres,eq,sub
64 #monitor#database monitor