SQL auth against existing database
Charles Sprickman
spork at bway.net
Fri Mar 30 07:00:02 CEST 2018
> On Mar 29, 2018, at 10:12 AM, Matthew Newton <mcn at freeradius.org> wrote:
>
> On Thu, 2018-03-29 at 02:11 -0400, Charles Sprickman via Freeradius-
> Users wrote:
>> What I’m having trouble with still is setting a variable based on the
>> client the request comes from.
>
> In clients.conf set a variable in the client definition, something like
>
> client localhost {
> ipaddr = 127.0.0.1
> myvar = "hello"
> ...
> }
>
> then use this where you need it with %{client:myvar}.
This is awesome, thank you. Officially simpler than what I had to do in gnu-radius.
Charles
>
> --
> Matthew
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list