summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-10-03 20:17:22 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-10-03 20:17:22 +0000
commiteb3df563b24912b913d86feb751f8034d959e9d6 (patch)
tree1ab46f00af3a830e18ddb966bcb5256d54eaa011 /ldap/admin/src/scripts
parent40865edea16c8eaa93ba391a71e20318e0a7d244 (diff)
downloadds-eb3df563b24912b913d86feb751f8034d959e9d6.tar.gz
ds-eb3df563b24912b913d86feb751f8034d959e9d6.tar.xz
ds-eb3df563b24912b913d86feb751f8034d959e9d6.zip
Resolves: #304161
Summary: logrotation time of -1 causes hang Change description: 1. slapd_log_audit_proc, slapd_log_error_proc_internal, and log_flush_buffer: use absolute value of rotationtime_secs to calculate the rotationsyncclock. 2. when the result of "atoi" for nsslapd-XXX-logrotationtime is 0 due to the invalid setting, logrotation time is reset to -1 (no rotation). 3. if nsslapd-XXX-logrotationtime and nsslapd-XXX-logexpirationtime is large (near MAXINT) and calculated rotationtime_secs and/or exptime_secs is overflown, set MAXINT to the sec value.
Diffstat (limited to 'ldap/admin/src/scripts')
0 files changed, 0 insertions, 0 deletions