]> git.sur5r.net Git - openldap/blobdiff - doc/guide/admin/overlays.sdf
Fix bdb/hdb in example
[openldap] / doc / guide / admin / overlays.sdf
index 89835558c23437ede0ad40804cf81028bebcf186..9198bad1560c0fbe45ed2138102beb8d501e0185 100644 (file)
@@ -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