Eduroam & FreeRadius not working so well

James JJ Hooper JJJ.Hooper at bristol.ac.uk
Tue Dec 11 09:34:48 CET 2012


On 11 December 2012 03:14, Mike Diggins <mike.diggins at mcmaster.ca> wrote:


> ok, both the default and inner-tunnel, I assume?

default only - you don't want to proxy the inner bit - if the inner
realm doesn't match blank or <yours>, you need to reject.

> I added the section to "authorize", but the DEBUG output indicates the
> regular expression is rejecting a valid user. Is there someone that could
> confirm the RE?
>
>
> if (User-Name =~ /^([^@]*)@([-A-Z0-9]+(\\.[-A-Z0-9]+)+)$/) {
> ...

add the case-insensitive flag i.e. end the line with
$/i) {

instead of your current:
$/) {

Kind regards,
  James

--
James J J Hooper
Senior Network Specialist, University of Bristol
http://www.wireless.bristol.ac.uk
--


More information about the Freeradius-Users mailing list