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