|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Problem with template.conf in proxy.confHello I'm using Freeradius 2.04-3 in Debian.
I'm using a home-server template defined in template.conf: ### /etc/freeradius/templates.conf templates { home_server { response_window = 20 zombie_period = 40 revive_interval = 120 } home_server tld-rediris { type = auth+acct port = 1812 secret = XXX response_window = 20 zombie_period = 40 revive_interval = 60 status_check = status-server check_interval = 30 num_answers_to_alive = 3 } } ### /etc/freeradius/proxy.conf home_server tld-rediris1 { template = tld-rediris ipaddr = ZZZ } home_server tld-rediris2 { template = tld-rediris ipaddr = YYY } But Freeradius doesn't run: /etc/freeradius# freeradius -X Starting - reading configuration files ... including configuration file /etc/freeradius/radiusd.conf including configuration file /etc/freeradius/templates.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including configuration file /etc/freeradius/snmp.conf including configuration file /etc/freeradius/ldap.conf including configuration file /etc/freeradius/sql.conf including configuration file /etc/freeradius/sql/mysql/dialup.conf including configuration file /etc/freeradius/policy.conf including files in directory /etc/freeradius/sites-enabled/ including configuration file /etc/freeradius/sites-enabled/default including dictionary file /etc/freeradius/dictionary ... home_server tld-rediris1 { ipaddr = ZZZ port = 0 response_window = 30 max_outstanding = 65536 zombie_period = 40 status_check = "none" ping_check = "none" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 300 status_check_timeout = 4 } /etc/freeradius/proxy.conf[27]: No port, or invalid port defined for home server tld-rediris1. Thank you very much. -- ____________________ Ana Gallardo Gómez ____________________ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |
|
|
Re: Problem with template.conf in proxy.confAna Gallardo wrote:
> Hello I'm using Freeradius 2.04-3 in Debian. > > I'm using a home-server template defined in template.conf: ... > home_server tld-rediris1 { > template = tld-rediris Read raddb/templates.conf. Use: $template name NOT template = name Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |
|
|
Re: Problem with template.conf in proxy.confRead raddb/templates.conf. Use:
In templates.conf I can read (sorry to paste here the text): # A section can reference a template by using "$template name" . . . # Then, each "home_server" section in "proxy.conf" would # only list the IP address of that home server, and a # line saying # # template = example.com I use the way you told me: ### /etc/freeradius/proxy.conf home_server tld-rediris1 { $template tld-rediris ipaddr = YYY } But doesn't work; /etc/freeradius# freeradius -X FreeRADIUS Version 2.0.4, for host x86_64-pc-linux-gnu, built on Oct 20 2009 at 11:45:11 Copyright (C) 1999-2008 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License. Starting - reading configuration files ... including configuration file /etc/freeradius/radiusd.conf including configuration file /etc/freeradius/templates.conf including configuration file /etc/freeradius/proxy.conf WARNING: No such configuration item tld-rediris /etc/freeradius/proxy.conf[28]: Reference "tld-rediris" not found Errors reading /etc/freeradius/radiusd.conf -- Ana Gallardo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |
|
|
Re: Problem with template.conf in proxy.confAna Gallardo wrote:
> WARNING: No such configuration item tld-rediris > /etc/freeradius/proxy.conf[28]: Reference "tld-rediris" not found > Errors reading /etc/freeradius/radiusd.conf I've committed a fix to git. It will be in 2.1.8. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |
|
|
Re: Problem with template.conf in proxy.confThank you very much Alan.
2009/11/14 Alan DeKok <aland@...>
-- ____________________ Ana Gallardo Gómez ____________________ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |
| Free embeddable forum powered by Nabble | Forum Help |