custom variable in config files

Tariq Rashid tariq.rashid at uk.easynet.net
Thu Sep 15 18:36:11 CEST 2005



thanks for the suggestion and clarification. trying what you suggested gives me ...

	Config:   including file: /opt/freeradius102/etc/raddb/proxy.conf
	config: No such entry network_address for string ${network_address}.126:1812
	Errors reading radiusd.conf

i'll keep trying and report back anything that works.

tariq


-----Original Message-----
From: freeradius-users-bounces at lists.freeradius.org
[mailto:freeradius-users-bounces at lists.freeradius.org]On Behalf Of Alan
DeKok
Sent: 15 September 2005 17:18
To: FreeRadius users mailing list
Subject: Re: custom variable in config files 


"Tariq Rashid" <tariq.rashid at uk.easynet.net> wrote:
> i'd like to do something like ...
> 
> 	realm abc.def {
> 	        type            = radius
> 	        authhost        = `%{config:network_address}`.126:1812

  The expansion of configuration-file variables is not the same as the
expansion of run-time variables.  See other examples in the
configuration.

  What *could* work is:

  authhost = ${network_address}.126:1812

  Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list