Clear log extended operation
The Clear log extended operation explains its use with the server and provides the results.
- Description
- The Clear log extended operation requests that the server clear
the requested log. When the log is cleared, a line is written to the log file
with the date and time that states when the log file was cleared. Note: This extended operation is always enabled.
- Request
-
- OID
- 1.3.18.0.2.12.20
- Syntax
-
RequestValue ::= { log LogType; }
- Response
-
- OID
- 1.3.18.0.2.12.21
- Syntax
- There is no response value.
- Behavior
- The extended operation clears the requested log file and writes
a message in the log. It writes the date and time that states when
the log was cleared. Only the Primary Directory Administrator or Local Administration Group members with AuditAdmin and ServerConfigGroupMember roles are authorized to call this extended operation. Only the Primary Directory Administrator can clear the audit log. A Local Administration Group member does not have access to clear the audit log.Note: If the control is sent by a user who does not have access, LDAP_INSUFFICIENT_ACCESS is returned.This control has the following possible return codes:
- LDAP_SUCCESS
- LDAP_INSUFFICIENT_ACCESS
- LDAP_UNWILLING_TO_PERFORM
- LDAP_PROTOCOL_ERROR
- LDAP_NO_MEMORY
This extended operation is not supported by the Administration Server.
- Scope
- This extended operation affects only the current operation.
- Auditing
-
Log: Log name