Previous Topic: Access Events

Next Topic: Administration Format

Authentication and Authorization Format

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:

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:
"Invalid session token"
"Invalid session id"
"Invalid session ip"
"Invalid user DN"
"Session has expired"
"Invalid key in use"
"Invalid error status"

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.
Examples:
"Invalid session type for
   affiliate agent"
"Invalid session type"
"Session not authorized for
   this security level"

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 © 2010 CA. All rights reserved. Email CA about this topic