If the event category ID is authentication (SmLogAccessCat_Auth) or authorization (SmLogAccessCat_Az), the format is:
lpszEvent lpszHostName lpszTimeString "szClientIp szUserName" "szAgentName szAction szResource" [szTransactionId] [nReason] szStatusMsg
Elements in the above format example are described as follows:
SmLogAccessEvent_AuthAccept : lpszEvent = "AuthAccept" SmLogAccessEvent_AuthReject : lpszEvent = "AuthReject" SmLogAccessEvent_AuthAttempt : lpszEvent = "AuthAttempt" SmLogAccessEvent_AuthChallenge : lpszEvent = "AuthChallenge" SmLogAccessEvent_AzAccept : lpszEvent = "AzAccept" SmLogAccessEvent_AzReject : lpszEvent = "AzReject" SmLogAccessEvent_AdminLogin : lpszEvent = "AdminLogin" SmLogAccessEvent_AdminLogout : lpszEvent = "AdminLogout" SmLogAccessEvent_AdminReject : lpszEvent = "AdminReject" SmLogAccessEvent_AuthLogout : lpszEvent = "AuthLogout" SmLogAccessEvent_ValidateAccept : lpszEvent = "ValidateAccept" SmLogAccessEvent_ValidateReject : lpszEvent = "ValidateReject"
Event |
Role of szStatusMsg |
---|---|
SmLogAccessEvent_AdminLogin |
Holds the UserMsg returned by the authentication scheme. |
SmLogAccessEvent_AdminReject |
Holds the ErrorMsg returned by the authentication Scheme |
SmLogAccessEvent_AuthAccept |
Holds the UserMsg. |
SmLogAccessEvent_AuthReject |
Holds a concatenated string of UserMsg and ErrorMsg. |
SmLogAccessEvent_AuthAttempt |
Holds a concatenated string of UserMsg and ErrorMsg. |
SmLogAccessEvent_AuthChallenge |
Holds the UserMsg. |
SmLogAccessEvent_ValidateAccept |
Is an empty string. |
SmLogAccessEvent_ValidateReject |
Holds an error message containing the reason for validate reject. Examples: |
SmLogAccessEvent_AuthLogout |
An empty string. |
SmLogAccessEvent_AzAccept |
An empty string. |
SmLogAccessEvent_AzReject |
Depending on the type of az reject, it is a string explaining the reason for the reject. |
For example:
AuthAccept testbox [27/Jun/2000:11:27:29 -0500] "190.158.4.90 uid=scarter,ou=people,o=airius.com" "testagent GET /test/index.html" [idletime=3600;maxtime=7200;authlevel=5;] [0]
In this example,
Copyright © 2014 CA.
All rights reserved.
|
|