mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
(ITS#5245) auditlog man page slapo-auditlog.5
This commit is contained in:
parent
8667a535dc
commit
0611d71558
@ -6,6 +6,8 @@
|
|||||||
slapo-auditlog \- Audit Logging overlay to slapd
|
slapo-auditlog \- Audit Logging overlay to slapd
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
ETCDIR/slapd.conf
|
ETCDIR/slapd.conf
|
||||||
|
.TP
|
||||||
|
ETCDIR/slapd.d
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The Audit Logging overlay can be used to record all changes on a given
|
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
|
backend database to a specified log file. Changes are logged as standard
|
||||||
@ -26,10 +28,38 @@ directive.
|
|||||||
.B auditlog <filename>
|
.B auditlog <filename>
|
||||||
Specify the fully qualified path for the log file.
|
Specify the fully qualified path for the log file.
|
||||||
.TP
|
.TP
|
||||||
.B
|
.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
|
||||||
|
dn: cn=module{0},cn=config
|
||||||
|
changetype: modify
|
||||||
|
add: olcModuleLoad
|
||||||
|
olcModuleLoad: {2}auditlog.la
|
||||||
|
|
||||||
|
dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config
|
||||||
|
changetype: add
|
||||||
|
objectClass: olcOverlayConfig
|
||||||
|
objectClass: olcAuditLogConfig
|
||||||
|
olcOverlay: auditlog
|
||||||
|
olcAuditlogFile: /tmp/auditlog.ldif
|
||||||
|
.fi
|
||||||
|
.RE
|
||||||
|
.LP
|
||||||
|
.LP
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.TP
|
.TP
|
||||||
ETCDIR/slapd.conf
|
ETCDIR/slapd.conf
|
||||||
default slapd configuration file
|
default slapd configuration file
|
||||||
|
.TP
|
||||||
|
ETCDIR/slapd.d
|
||||||
|
default slapd configuration directory
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR slapd.conf (5).
|
.BR slapd.conf (5),
|
||||||
|
.BR slapd-config(5).
|
||||||
|
Loading…
Reference in New Issue
Block a user