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-2008 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 @SCHEMADIR@/core.schema
18 include @SCHEMADIR@/cosine.schema
19 include @SCHEMADIR@/inetorgperson.schema
20 include @SCHEMADIR@/openldap.schema
21 include @SCHEMADIR@/nis.schema
23 pidfile @TESTDIR@/slapd.2.pid
24 argsfile @TESTDIR@/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 limits dn="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" size=1
48 proxycache @BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
49 proxyattrset 0 sn cn title uid
50 proxyattrset 1 mail postaladdress telephonenumber cn uid
51 proxytemplate (|(cn=)(sn=)) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
52 proxytemplate (sn=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
53 proxytemplate (uid=) 1 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
54 proxytemplate (mail=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
59 directory @TESTDIR@/db.2.a
60 #bdb#index objectClass eq
61 #bdb#index cn,sn,uid,mail pres,eq,sub
62 #hdb#index objectClass eq
63 #hdb#index cn,sn,uid,mail pres,eq,sub
65 #monitor#database monitor