This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UKFBXSMIUKGELBPOGMTD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Oops forgot the db in the second entry
it should of course be
# pcache overlay dn: olcOverlay=3D{0}pcache,olcDatabase=3D{2}ldap,cn=3Dconfig =2E..
This is also reflected in the following patch
--- doc/guide/admin/overlays.sdf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/guide/admin/overlays.sdf b/doc/guide/admin/overlays.sdf index a8ceede..8e2c81e 100644 --- a/doc/guide/admin/overlays.sdf +++ b/doc/guide/admin/overlays.sdf @@ -791,7 +791,7 @@ The same example as a LDIF file for back-config for a caching server which proxies for the {{EX:"dc=3Dexample,dc=3Dcom"}} subtree held at server {{EX:ldap.example.com}}.
-> dn: olcDatabase=3D{2}ldap +> dn: olcDatabase=3D{2}ldap,cn=3Dconfig
objectClass: olcDatabaseConfig objectClass: olcLDAPConfig olcDatabase: {2}ldap
@@ -799,7 +799,7 @@ at server {{EX:ldap.example.com}}.
olcRootDN: dc=3Dexample,dc=3Dcom olcDbURI: "ldap://ldap.example.com"
-> dn: olcOverlay=3D{0}pcache +> dn: olcOverlay=3D{0}pcache,olcDatabase=3D{2}ldap,cn=3Dconfig
objectClass: olcOverlayConfig objectClass: olcPcacheConfig olcOverlay: {0}pcache
@@ -809,7 +809,7 @@ at server {{EX:ldap.example.com}}.
olcPcacheTemplate: "(&(sn=3D)(givenName=3D))" 0 3600 0 0 0 olcPcacheTemplate: "(&(departmentNumber=3D)(secretary=3D))" 0 3600
-> dn: olcDatabase=3D{0}hdb +> dn: olcDatabase=3D{0}hdb,olcOverlay=3D{0}pcache,olcDatabase=3D{2}ldap,cn=3Dco= nfig
objectClass: olcHdbConfig objectClass: olcPcacheDatabase olcDatabase: {0}hdb
--=20 1.7.10.4
The attached patch file is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the following patch(es) were developed by Bernd May bernd@net.t-labs.tu-berlin.de. I have not assigned rights and/or interest in this work to any party.
I, Bernd May, hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.
--=20 Technische Universit=E4t Berlin - FGINET
Bernd May
System Administration An-Institut Deutsche Telekom Laboratories Sekr. TEL 16 Ernst-Reuter-Platz 7 10587 BERLIN GERMANY
Mobile: 0160/90257737 E-Mail: bernd@net.t-labs.tu-berlin.de (T-Labs work) WWW: net.t-labs.tu-berlin.de
------enig2UKFBXSMIUKGELBPOGMTD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc"
------enig2UKFBXSMIUKGELBPOGMTD--