Best config practices?

Stefan Winter stefan.winter at restena.lu
Mon Aug 11 12:00:57 CEST 2008


> realm test.com {
>         type            = radius
>         authhost        = LOCAL
>         accthost        = LOCAL
> }
>
> Finally I need to add the realms to users file
>
> DEFAULT Realm == "test.com", Autz-Type := test.com
>
> (Auth-Type should be figured out by freeradius)
>
> Is this the best way to setup a decent configuration? I'd like to skip the
> proxy.conf configuration since it's saying the same for all realms. Anyone
>   
> some suggestions?
>   

Well, if you have LOCAL for *every* realm, my suggestion would be not 
not call any realm module at all. Then the proxy.conf file is ignored 
and you can leave it untouched.

Then, obviously using Realm == test.com in the users file should be 
replaced. You can do it by

DEFAULT User-Name =~ ".*@test.com$", Autz-Type := test.com

HTH,

Stefan Winter


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473




More information about the Freeradius-Users mailing list