[RADIATOR] Reject PreAuthHook with PEAP and TTLS

Johan Carlquist johan.carlquist at su.se
Fri May 24 08:12:46 CDT 2013


Hi!

Is it possible to in an PreAuthHook reject based on the inner username when using PEAP and TTLS?

I tried to just reject with 
sub {
	my $p = ${$_[0]};
        my $response = $_[2];
	&main::log($main::LOG_DEBUG,  $p->{EAPIdentity} );
        $$response = $main::REJECT;
        return $main::REJECT;
}
but that didn't print the username and it didn't reject the user.

____________________________________

Johan Carlquist

IT Services
Stockholm University
SE-106 91 Stockholm, Sweden

www.su.se/it
____________________________________



More information about the radiator mailing list