2005-06-07 11:03:18 +08:00
|
|
|
.TH SLAPO-AUDITLOG 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
2019-01-15 02:46:16 +08:00
|
|
|
.\" Copyright 2005-2019 The OpenLDAP Foundation All Rights Reserved.
|
2005-06-07 11:03:18 +08:00
|
|
|
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
|
|
|
.\" $OpenLDAP$
|
|
|
|
.SH NAME
|
2009-06-03 08:43:44 +08:00
|
|
|
slapo\-auditlog \- Audit Logging overlay to slapd
|
2005-06-07 11:03:18 +08:00
|
|
|
.SH SYNOPSIS
|
|
|
|
ETCDIR/slapd.conf
|
2007-12-04 05:57:32 +08:00
|
|
|
.TP
|
|
|
|
ETCDIR/slapd.d
|
2005-06-07 11:03:18 +08:00
|
|
|
.SH DESCRIPTION
|
|
|
|
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.
|
|
|
|
.LP
|
|
|
|
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.
|
|
|
|
.SH CONFIGURATION
|
|
|
|
This
|
|
|
|
.B slapd.conf
|
|
|
|
option applies to the Audit Logging overlay.
|
|
|
|
It should appear after the
|
|
|
|
.B overlay
|
|
|
|
directive.
|
|
|
|
.TP
|
|
|
|
.B auditlog <filename>
|
|
|
|
Specify the fully qualified path for the log file.
|
|
|
|
.TP
|
2007-12-04 05:57:32 +08:00
|
|
|
.B olcAuditlogFile <filename>
|
|
|
|
For use with
|
|
|
|
.B cn=config
|
|
|
|
.SH EXAMPLE
|
|
|
|
The following LDIF could be used to add this overlay to
|
|
|
|
.B cn=config
|
|
|
|
(adjust to suit)
|
|
|
|
.LP
|
|
|
|
.RS
|
|
|
|
.nf
|
2017-02-03 02:43:01 +08:00
|
|
|
dn: olcOverlay=auditlog,olcDatabase={1}mdb,cn=config
|
2007-12-04 05:57:32 +08:00
|
|
|
changetype: add
|
|
|
|
objectClass: olcOverlayConfig
|
|
|
|
objectClass: olcAuditLogConfig
|
|
|
|
olcOverlay: auditlog
|
|
|
|
olcAuditlogFile: /tmp/auditlog.ldif
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.LP
|
|
|
|
.LP
|
2005-06-07 11:03:18 +08:00
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
ETCDIR/slapd.conf
|
|
|
|
default slapd configuration file
|
2007-12-04 05:57:32 +08:00
|
|
|
.TP
|
|
|
|
ETCDIR/slapd.d
|
|
|
|
default slapd configuration directory
|
2005-06-07 11:03:18 +08:00
|
|
|
.SH SEE ALSO
|
2007-12-04 05:57:32 +08:00
|
|
|
.BR slapd.conf (5),
|
2009-06-03 08:43:44 +08:00
|
|
|
.BR slapd\-config(5).
|