Freeradius realms and/or user issue
Alan DeKok
aland at deployingradius.com
Thu Sep 5 22:52:48 UTC 2024
On Aug 28, 2024, at 9:56 AM, Nick Ryce <nick at njryce.net> wrote:
>
> I'm currently running freeradius (on v2.1.22, don't shoot me) with sql backend.
Yea, upgrade. Even 2.2.10 is configuration compatible with 2.1, and has a number of issues fixed.
> I need to accept *@randombroadband.co.uk<mailto:*@randombroadband.co.uk> and send an Access Accept.
> I have defined the realm in proxy.conf as below:
> realm randombroadband.co.uk {
> authhost = LOCAL
> nostrip
> }
> in my users file I have the following:
> DEFAULT User-Name =~ "@randombroadband.co.uk"
> Auth-Type := Accept
If you want to set a Auth-Type, you have to put it on the first line of the entry, not the second one. The second line is for reply items.
See "man users", which describes the "users" file format and how it works.
Alan DeKok.
More information about the Freeradius-Users
mailing list