[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7546) Proxycache overlay documentation cn=config example misleading



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"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJRSgl/AAoJEH7/++7GEirBB/MP/RTuLNh7okStVOm6MttcIWtl
Zb9LokAFUne74hRr+filAGEP+7UTWgChxaxnTUX48C0m3/7teHYzZ8ARXXP2R0JF
zLVcuexjJ4Kqb8NFflxOxarP3ycNTCUtwHwUM9/6B4okRu3KtqoLIOiCU78QC2yk
vFuA6AA3kiIDswvqxNuCJw+wvNzVLZSdlGFLS2839wQPFpijwSC09OKEMjVwA6bZ
bAKgwqLRqgVOUjODYvmrq+XvQcyv/PienCbEMu6rPB3mRiOAq795TcrnDfiEM8f5
ClAcEXi31Qb3OTKBfOfFHIWxX/dE6DMKJn/kJturAoram1zQOS5DZyjqspaUHiY6
i3XB3LPRZh6TcLQs3/sDzsBB+sGXJMG/z6JVrpdxr8J6Wr7haI3auT6nLE3NDZjX
oidet1D8uy2HPQxT3L3FQfjBBpl23h1lSC4UQdNAbztqR5+ATpzkjJNp5AODl+DT
9rSPo1PRsIlL54L+pLcV2jzMJItm5bZ0DVYLXliJuCG2L7KuvSLkj86giQy/1JXL
BRiBRS5X49RNrlkZmDLXnqfBOcOFeJZ+N8YywJ44T/HeDyYKvGwgiCs9bN50PY8U
VSpmhw2pNJCnN1yfaI8UrK9hSHtLAfUBu0Gyf8P6G5qZk/XAvX8kYHVN0NuHtjkr
0cqgfDAbtyw3A6/Jn2P4
=SkKF
-----END PGP SIGNATURE-----

------enig2UKFBXSMIUKGELBPOGMTD--