[RADIATOR] Additional logging in AuthGROUP

Mike McCauley mikem at open.com.au
Wed Nov 17 15:03:10 CST 2010


Hi Markus,

thanks for the suggestion and patch.
It is now in the latest patch set.

Cheers.


On Thursday 18 November 2010 05:07:13 am Markus Moeller wrote:
> Would it be possible to add additional DEBUG logging to AuthGROUP, so that
> any individual Authby result will be logged ?
>
>
> Thank you
> Markus
>
>
>     # Try all the authenticators in sequence until the AuthByPolicy
>     # is satisfied
>     # CAUTION: The handler might fork
>     my ($handler, $reason);
>     foreach $handler (@{$self->{AuthBy}})
>     {
>         # Make sure the authby is updated with stats
>         push(@{$p->{StatsTrail}}, \%{$handler->{Statistics}});
>
>         ($handled, $reason) = $handler->handle_request($p, $p->{rp},
> $extra_checks); # Evaluate the AuthByPolicy
>         $self->log($main::LOG_DEBUG, "$type:$self->{Identifier}
> $handler->{Identifier} result: $Radius::AuthGeneric::reasons[$handled],
> $reason", $p); last unless
> $self->evaluatePolicy($self->{AuthByPolicy},$handled); }



-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

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, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.


More information about the radiator mailing list