database ldap
suffix "dc=example,dc=com"
rootdn "dc=example,dc=com"
+rootpw "secret"
uri "@URI1@"
+limits dn="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" size=1
+
overlay pcache
proxycache @BACKEND@ 100 2 @ENTRY_LIMIT@ @CACHETTL@
proxyattrset 0 sn cn title uid
proxyattrset 1 mail postaladdress telephonenumber cn uid
-proxytemplate (|(cn=)(sn=)) 0 @CACHETTL@
-proxytemplate (sn=) 0 @CACHETTL@
-proxytemplate (uid=) 1 @CACHETTL@
-proxytemplate (mail=) 0 @CACHETTL@
-
+proxytemplate (|(cn=)(sn=)) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
+proxytemplate (sn=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
+proxytemplate (uid=) 1 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
+proxytemplate (mail=) 0 @CACHETTL@ @NCACHETTL@ @SCACHETTL@
+
#bdb#cachesize 20
#hdb#cachesize 20
#hdb#index objectClass eq
#hdb#index cn,sn,uid,mail pres,eq,sub
-
-
#monitor#database monitor