Hi there,

I've been almost off this list for some time (I have a backlog of a month or so 
in reading it) and I don't know if this has been discussed yet.

I'm using an AuthLog FILE to log both successes & failures, and I want to 
include the reason for the failure (not only the password).

I went to:
http://www.open.com.au/radiator/ref.html#22600
and didn't find anything that looked like that (since the reason for failure is 
not a reply item)

I browsed through the sources (somehow lightly, yes) to see what the logger 
did, but it seems to passing strings through objects in the logging modules and 
is not even using global variables (so I can't use %{GlobalVar:name} either).

Is there a way to add the Authentication Failure Reason to the "FailureFormat" 
string?

The relevant portion of my config file follows:

-----------------------------------------------------
# Log authentication success and failure to a file
<AuthLog FILE>
    Identifier authLogger
    Filename %L/%Y-%m/auth_%d-%q
    LogSuccess 1
    LogFailure 1
    SuccessFormat %l:%n:<****>:OK
    FailureFormat %l:%n:%P:FAIL
</AuthLog>
-----------------------------------------------------

I would like to use something like:
<AuthLog FILE>
    Identifier authLogger
    Filename %L/%Y-%m/auth_%d-%q
    LogSuccess 1
    LogFailure 1
    SuccessFormat %l:%n:<****>:OK
    FailureFormat %l:%n:%P:FAIL:(%{Reason})
</AuthLog>

Is it possible?

TIA.

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to