X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fguide%2Fadmin%2Foverlays.sdf;h=9198bad1560c0fbe45ed2138102beb8d501e0185;hb=c758645221b60187e5d6c5f05231d095943982ca;hp=89835558c23437ede0ad40804cf81028bebcf186;hpb=b543b4ac20fc1b42c72e88daa19f0d2078dfe21c;p=openldap diff --git a/doc/guide/admin/overlays.sdf b/doc/guide/admin/overlays.sdf index 89835558c2..9198bad156 100644 --- a/doc/guide/admin/overlays.sdf +++ b/doc/guide/admin/overlays.sdf @@ -1,5 +1,5 @@ # $OpenLDAP$ -# Copyright 2007-2012 The OpenLDAP Foundation, All Rights Reserved. +# Copyright 2007-2013 The OpenLDAP Foundation, All Rights Reserved. # COPYING RESTRICTIONS APPLY, see COPYRIGHT. H1: Overlays @@ -774,7 +774,7 @@ at server {{EX:ldap.example.com}}. > rootdn "dc=example,dc=com" > uri ldap://ldap.example.com/ > overlay pcache -> pcache bdb 100000 1 1000 100 +> pcache hdb 100000 1 1000 100 > pcacheAttrset 0 mail postaladdress telephonenumber > pcacheTemplate (sn=) 0 3600 > pcacheTemplate (&(sn=)(givenName=)) 0 3600 @@ -791,7 +791,7 @@ The same example as a LDIF file for back-config for a caching server which proxies for the {{EX:"dc=example,dc=com"}} subtree held at server {{EX:ldap.example.com}}. -> dn: olcDatabase={2}ldap +> dn: olcDatabase={2}ldap,cn=config > objectClass: olcDatabaseConfig > objectClass: olcLDAPConfig > olcDatabase: {2}ldap @@ -799,17 +799,17 @@ at server {{EX:ldap.example.com}}. > olcRootDN: dc=example,dc=com > olcDbURI: "ldap://ldap.example.com" > -> dn: olcOverlay={0}pcache +> dn: olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config > objectClass: olcOverlayConfig > objectClass: olcPcacheConfig > olcOverlay: {0}pcache -> olcPcache: bdb 100000 1 1000 100 +> olcPcache: hdb 100000 1 1000 100 > olcPcacheAttrset: 0 mail postalAddress telephoneNumber > olcPcacheTemplate: "(sn=)" 0 3600 0 0 0 > olcPcacheTemplate: "(&(sn=)(givenName=))" 0 3600 0 0 0 > olcPcacheTemplate: "(&(departmentNumber=)(secretary=))" 0 3600 > -> dn: olcDatabase={0}hdb +> dn: olcDatabase={0}hdb,olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config > objectClass: olcHdbConfig > objectClass: olcPcacheDatabase > olcDatabase: {0}hdb