custom variable in config files
Tariq Rashid
tariq.rashid at uk.easynet.net
Wed Sep 14 12:38:16 CEST 2005
thanks - that works - i can confirm that for the list
tariq
-----Original Message-----
From: freeradius-users-bounces at lists.freeradius.org
[mailto:freeradius-users-bounces at lists.freeradius.org]On Behalf Of
Nicolas Baradakis
Sent: 13 September 2005 18:08
To: FreeRadius users mailing list
Subject: Re: custom variable in config files
Tariq Rashid wrote:
> but this doesn't ...
>
> # local test user for monitoring and diagnostics
> test1 at proxyradius.%{config:easynet_site} User-Password == "test1.proxyradius.%{config:easynet_site}"
> Reply-Message = "hello from the proxyradius layer %{config:easynet_site}"
>
> any ideas? i'm using version 1.0.2 on debian 3.1
It doesn't work because the name of the entry isn't xlat'ed in
src/main/files.c. Perhaps this syntax would work:
DEFAULT User-Name = "test1 at proxyradius.%{config:easynet_site}", User-Password == "test1.proxyradius.%{config:easynet_site}"
Reply-Message = "hello from the proxyradius layer %{config:easynet_site}"
--
Nicolas Baradakis
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list