X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fguide%2Fadmin%2Foverlays.sdf;h=5a91dc57f35275dd853a16a4198cccf1c7ac51c0;hb=59e9ff6243465640956b58ad1756a3ede53eca7c;hp=fbf417b4dd1a7554a9b0070aaf34297d13ec8c2e;hpb=528b256e09e27c016692e8c5e2d9afe4327db77e;p=openldap diff --git a/doc/guide/admin/overlays.sdf b/doc/guide/admin/overlays.sdf index fbf417b4dd..5a91dc57f3 100644 --- a/doc/guide/admin/overlays.sdf +++ b/doc/guide/admin/overlays.sdf @@ -1,5 +1,5 @@ # $OpenLDAP$ -# Copyright 2007-2015 The OpenLDAP Foundation, All Rights Reserved. +# Copyright 2007-2018 The OpenLDAP Foundation, All Rights Reserved. # COPYING RESTRICTIONS APPLY, see COPYRIGHT. H1: Overlays @@ -79,6 +79,9 @@ or in raw form. It is also used for {{SECT:delta-syncrepl replication}} +Note: An accesslog database is unique to a given master. It should +never be replicated. + H3: Access Logging Configuration The following is a basic example that implements Access Logging: @@ -182,7 +185,7 @@ H3: Audit Logging Configuration If the directory is running vi {{F:slapd.d}}, then the following LDIF could be used to add the overlay to the overlay list in {{B:cn=config}} and set what file the {{TERM:LDIF}} gets logged to (adjust to suit) -> dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config +> dn: olcOverlay=auditlog,olcDatabase={1}mdb,cn=config > changetype: add > objectClass: olcOverlayConfig > objectClass: olcAuditLogConfig @@ -369,7 +372,7 @@ title attribute of any {{titleCatalog}} entries in the given scope. An example for use with {{cn=config}}: -> dn: olcOverlay=constraint,olcDatabase={1}hdb,cn=config +> dn: olcOverlay=constraint,olcDatabase={1}mdb,cn=config > changetype: add > objectClass: olcOverlayConfig > objectClass: olcConstraintConfig @@ -809,10 +812,10 @@ at server {{EX:ldap.example.com}}. > olcPcacheTemplate: "(&(sn=)(givenName=))" 0 3600 0 0 0 > olcPcacheTemplate: "(&(departmentNumber=)(secretary=))" 0 3600 > -> dn: olcDatabase={0}hdb,olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config -> objectClass: olcHdbConfig +> dn: olcDatabase={0}mdb,olcOverlay={0}pcache,olcDatabase={2}ldap,cn=config +> objectClass: olcMdbConfig > objectClass: olcPcacheDatabase -> olcDatabase: {0}hdb +> olcDatabase: {0}mdb > olcDbDirectory: ./testrun/db.2.a > olcDbCacheSize: 20 > olcDbIndex: objectClass eq