Separate <AuthLog FILE> per Realm?

Michael Bellears michael.bellears at staff.datafx.com.au
Wed Jul 16 00:38:33 CDT 2003


I have the following:

<Realm DEFAULT>
        AuthByPolicy ContinueWhileAccept
        <AuthBy RADMIN>
		....
        </AuthBy>
<AuthLog FILE>
       Identifier myauthlogger
       Filename authlog
       SuccessFormat
%l:NAS:%N:Calling_Number:%{Calling-Station-Id}:Username:%U:Password:%P:A
ssigned:%a:Reply:{Reply:Reply-Message}:Connect_Info:%{Connect-Info}:SUCC
ESS
       FailureFormat
%l:NAS:%N:Calling_Number:%{Calling-Station-Id}:Username:%U:Password:%P:R
eply:%{Reply:Reply Message}:FAILURE
       LogSuccess 1
       LogFailure 1
</AuthLog>
</Realm>

And:

<Realm dsl.datafx.com.au>
        AuthByPolicy ContinueWhileAccept
        <AuthBy RADMIN>
		....
        </AuthBy>
<AuthLog FILE>
       Identifier myauthlogger2
       Filename authlog_dsl
       SuccessFormat
%l:NAS:%N:Calling_Number:%{Calling-Station-Id}:Username:%U:Password:%P:A
ssigned:%a:Reply:%{Reply:Reply-Message}

:Connect_Info:%{Connect-Info}:SUCCESS

       FailureFormat
%l:NAS:%N:Calling_Number:%{Calling-Station-Id}:Username:%U:Password:%P:R
eply:%{Reply:Reply-Message}:FAILURE
       LogSuccess 1
       LogFailure 1
</AuthLog>
</Realm>

The DEFAULT Realm is successfully logging to 'authlog', but the
dsl.datafx.com.au Realm is not logging to authlog_dsl.

Regards,
MB

-------------------------------------------------------

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS etc.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list