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

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



Full_Name: Bernd May
Version: 2.4
OS: GNU/Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (130.149.236.151)


The OpenLDAP 2.4 Administrator's Guide has an example configuration for the
ProxyCache overlay for the cn=config slapd backend in chapter 12.9.2.5. This
example is ambigious in providing guidance about the fact that the pcache
overlay requires a separate database to store its cached entries in. 
In fact the example makes it look like the ldap database to be cached for, the
pcache overlay and the pcache database are totally individual entries below
cn=config. This is not the case and the example should be edited to reflect the
hierachy of those three entries, e.g.

# database to be cached for
dn: olcDatabase={2}ldap,cn=config
...
# pcache overlay
dn: olcOverlay={0}pcache,cn=config
...
# dn: olcDatabase={0}hdb,olcOverlay={0}pcache,cn=config
...

also indexing for the pcacheQueryid (as per the slapo-pcache manpage) might be
useful to include in the example, e.g.

olcDbIndex: pcacheQueryID eq

hth