slapo-auditlog(5)

slapo-auditlog5

Audit logging overlay to slapd

Usage

ETCDIR/slapd.conf

ETCDIR/slapd.d

Overview

The Audit Logging overlay can be used to record all changes on a given backend database to a specified log file. Changes are logged as standard LDIF, with an additional comment header giving the timestamp of the change and the identity of the user making the change.

For Add and Modify operations the identity comes from the modifiersName associated with the operation. This is usually the same as the requestor's identity, but may be set by other overlays to reflect other values.

Configuration

This slapd.conf option applies to the Audit Logging overlay. It should appear after the overlay directive.

auditlog <filename>

Specify the fully qualified path for the log file.

olcAuditlogFile <filename>

For use with cn=config

Examples

The following LDIF could be used to add this overlay to cn=config (adjust to suit)

dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config 
changetype: add
objectClass: olcOverlayConfig
objectClass: olcAuditLogConfig
olcOverlay: auditlog
olcAuditlogFile: /tmp/auditlog.ldif

Files

ETCDIR/slapd.conf

default slapd configuration file

ETCDIR/slapd.d

default slapd configuration directory

Releases

115 releases since Mac OS X 10.5; the text changed 3 times.

  1. 10.5–10.5.8
  2. 10.6–10.6.8
  3. 10.7–10.7.5
  4. 10.8–26.5

From OpenLDAP 561 in macOS 26.5. Parsed by carta from the page's man source.