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
10 pidfile ./test-cache/slapd.pid
11 argsfile ./test-cache/slapd.args
15 #######################################################################
16 # ldbm database definitions
17 #######################################################################
21 suffix "o=University of Michigan,c=US,cn=cache"
23 directory ./test-cache
25 index cn,sn,uid,mail pres,eq,sub
29 rewriteContext cacheResult
30 rewriteRule "(.*)o=University of Michigan,c=US" "%1o=University of Michigan,c=US,cn=cache" ":"
31 rewriteContext cacheBase
32 rewriteRule "(.*)o=University of Michigan,c=US" "%1o=university of michigan,c=us,cn=cache" ":"
33 rewriteContext cacheReturn
34 rewriteRule "(.*)o=University of Michigan,c=US,cn=cache" "%1o=University of Michigan,c=US" ":"
37 suffix "o=University of Michigan,c=US"
38 uri ldap://127.0.0.1:9009/o=University%20of%20Michigan,c=US
39 cacheparams 10000 15000 2 @ENTRY_LIMIT@ @CACHETTL@
42 attrset 1 mail postaladdress telephonenumber
43 addtemplate (|(cn=)(sn=)) 0 @CACHETTL@
44 addtemplate (sn=) 0 @CACHETTL@
45 addtemplate (uid=) 1 @CACHETTL@
46 addtemplate (mail=) 0 @CACHETTL@