radius proxy senario

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Mon Mar 9 18:03:41 CET 2009


Hi,
> 
> Thanks Alan
> 
> With this:
> 
> if ("%{User-Name}" =~ /^ABC\//) {
>                 update request {
>                 Realm := 'another_realm'
>                 }
>         }
> 
> The regex is working by now, but the other problem exist, the rewrite not working properly.

dont play with User-Name!

change the config to something instructive eg

if ("%{User-Name}" =~ /^ABC\//) {
                 update request {
                 Realm := 'another_realm'
                 }
                 update control {
                 Proxy-To-Realm := "another_realm"
                 }
       }

alan



More information about the Freeradius-Users mailing list