i'm running into the same problem again in the clients.conf file where variables are not visible in the "host =" entries.
i'd like to do something like ... realm abc.def { type = radius authhost = `%{config:network_address}`.126:1812 accthost = `%{config:network_address}`.126:1813 secret = llustreamkey nostrip } where network_address is defined in a file included in radius.cfg (which works for the users file shown below). any ideas? can i force the clients.conf to be xlat'ed? tariq -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 > [EMAIL PROTECTED]: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 = "[EMAIL PROTECTED]: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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html