2 # proxy cache slapd config
5 include ./schema/core.schema
6 include ./schema/cosine.schema
7 include ./schema/inetorgperson.schema
8 include ./schema/openldap.schema
9 include ./schema/nis.schema
11 pidfile ./testrun/slapd.2.pid
12 argsfile ./testrun/slapd.2.args
16 modulepath ../servers/slapd/back-@BACKEND@/
19 #######################################################################
20 # database definitions
21 #######################################################################
25 suffix "o=University of Michigan,c=US,cn=cache"
27 directory ./testrun/db.2.a
29 index cn,sn,uid,mail pres,eq,sub
33 rewriteContext cacheResult
34 rewriteRule "(.*)o=University of Michigan,c=US" "%1o=University of Michigan,c=US,cn=cache" ":"
35 rewriteContext cacheBase
36 rewriteRule "(.*)o=University of Michigan,c=US" "%1o=university of michigan,c=us,cn=cache" ":"
37 rewriteContext cacheReturn
38 rewriteRule "(.*)o=University of Michigan,c=US,cn=cache" "%1o=University of Michigan,c=US" ":"
41 suffix "o=University of Michigan,c=US"
42 uri ldap://127.0.0.1:9011/o=University%20of%20Michigan,c=US
43 cacheparams 10000 15000 2 @ENTRY_LIMIT@ @CACHETTL@
45 attrset 0 sn cn title uid
46 attrset 1 mail postaladdress telephonenumber cn uid
47 addtemplate (|(cn=)(sn=)) 0 @CACHETTL@
48 addtemplate (sn=) 0 @CACHETTL@
49 addtemplate (uid=) 1 @CACHETTL@
50 addtemplate (mail=) 0 @CACHETTL@