Core Server Configuration Attributes Reference
Chapter 2 Core Server Configuration Reference 45
nsslapd-accesslog-mode (Access Log File Permission)
Specifies the access mode or file permission with which access log files are to be
created. The valid values are any combination of
000
to
777
since they mirror
numbered or absolute UNIX file permissions. The value must be a combination of a
3-digit number, the digits varying from
0
through
7
:
0
- None
1
- Execute only
2
- Write only
3
- Write and execute
4
- Read only
5
- Read and execute
6
- Read and write
7
- Read, write, and execute
In the 3-digit number, the first digit represents the owner’s permissions, the second
digit represents the group’s permissions, and the third digit represents everyone’s
permissions. When changing the default value, keep in mind that
000
will not
allow access to the logs and that allowing write permissions to everyone can result
in the logs being overwritten or deleted by anyone.
The newly configured access mode will only affect new logs that are created; the
mode will be set when the log rotates to a new file.
Entry DN: cn=config
Valid Range: 1 to the maximum 32 bit integer value (2147483647)
Default Value: 10
Syntax: Integer
Example: nsslapd-accesslog-maxlogsperdir: 10
Entry DN: cn=config
Valid Range: 000 through 777
Default Value: 600
Syntax: Integer
Example: nsslapd-accesslog-mode: 600