X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fguide%2Fadmin%2Foverlays.sdf;h=9198bad1560c0fbe45ed2138102beb8d501e0185;hb=c758645221b60187e5d6c5f05231d095943982ca;hp=a8ceede2b1857d6e815b9ec2a8567361afc553be;hpb=2c264be2c2eaae1c15d947373543ab0e4a7058d9;p=openldap diff --git a/doc/guide/admin/overlays.sdf b/doc/guide/admin/overlays.sdf index a8ceede2b1..9198bad156 100644 --- a/doc/guide/admin/overlays.sdf +++ b/doc/guide/admin/overlays.sdf @@ -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