Proxy Question

Phil Mayers p.mayers at imperial.ac.uk
Fri Apr 21 19:21:32 CEST 2006


Bjørn Mork wrote:
> "Reynold McGuire" <rmcguire at suffolk.edu> writes:
> 
>> How can I get freeRadius to see "domain.com\username" and convert that to
>> "username at domain.com" and proxy that off?
> 
> If you need both styles:
> 
> modules {
>         ..
>         realm suffix {
>                 format = suffix
>                 delimiter = "@"
>                 ignore_default = no
>                 ignore_null = yes
>         }
>         realm ntdomain {
>                 format = prefix
>                 delimiter = "\\"
>                 ignore_default = no
>                 ignore_null = yes
>         }       

Correct me if I'm wrong, but that definitely WON'T work. You've got 
"ignore_null = yes" set on both, therefore the first one will always 
match. e.g.

request: User-Name = "DOM\user"
suffix: NULL realm found Stripped-User-Name = "DOM\user" Realm = "NULL"

You can only set ignore_null = yes on ONE of the modules. The 2nd will 
never run otherwise.



More information about the Freeradius-Users mailing list