Red Hat 8.1 User Manual

Page 24

Advertising
background image

Example

nsslapd-auditlog-list: auditlog2,auditlog3

2.3.1.22. nsslapd-auditlog-logexpirationtime (Audit Log Expiration Time)

This attribute sets the maximum age that a log file is allowed to be before it is deleted. This attribute
supplies only the number of units. The units (day, week, month, and so forth) are given by the nsslapd-
auditlog-logexpirationtimeunit
attribute.

Parameter

Description

Entry DN

cn=config

Valid Range

-1 to the maximum 32 bit integer value
(2147483647)
A value of -1 or 0 means that the log never
expires.

Default Value

-1

Syntax

Integer

Example

nsslapd-auditlog-logexpirationtime: 1

2.3.1.23. nsslapd-auditlog-logexpirationtimeunit (Audit Log Expiration Time Unit)

This attribute sets the units for the nsslapd-auditlog-logexpirationtime attribute. If the unit is
unknown by the server, then the log never expires.

Parameter

Description

Entry DN

cn=config

Valid Values

month | week | day

Default Value

week

Syntax

DirectoryString

Example

nsslapd-auditlog-logexpirationtimeunit: day

2.3.1.24 . nsslapd-auditlog-logging-enabled (Audit Log Enable Logging)

Turns audit logging on and off.

Parameter

Description

Entry DN

cn=config

Valid Values

on | off

Default Value

off

Syntax

DirectoryString

Example

nsslapd-auditlog-logging-enabled: off

For audit logging to be enabled, this attribute must have a valid path and parameter and the nsslapd-
auditlog-logging-enabled
configuration attribute must be switched to on. The table lists the four
possible combinations of values for these two configuration attributes and their outcome in terms of
disabling or enabling of audit logging.

Table 2.5. Possible combinations for nsslapd-auditlog and nsslapd-auditlog-logging-enabled

Attribute

Value

Logging enabled or disabled

nsslapd-auditlog-logging-
enabled
nsslapd-auditlog

on
empty string

Disabled

nsslapd-auditlog-logging-
enabled
nsslapd-auditlog

on
filename

Enabled

nsslapd-auditlog-logging-
enabled
nsslapd-auditlog

off
empty string

Disabled

nsslapd-auditlog-logging-
enabled
nsslapd-auditlog

off
filename

Disabled

2.3.1.25. nsslapd-auditlog-logmaxdiskspace (Audit Log Maximum Disk Space)

24

Chapter 2. Core Server Configuration Reference

Advertising