nas table and virtual servers?
Jiann-Ming Su
su_js1 at yahoo.com
Fri Dec 17 06:54:05 CET 2010
----- Original Message ----
> From: Alan DeKok <aland at deployingradius.com>
> To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
> Sent: Fri, December 17, 2010 12:42:45 AM
> Subject: Re: nas table and virtual servers?
>
> Jiann-Ming Su wrote:
> > Does the nas table work with virtual servers?
>
> Yes.
>
> > On startup, freeradius reads from the nas table and loads the clients listed
>
> > there. But, those clients don't know which virtual server to connect to.
>
> Read the schema && the queries. There's a "server" entry which is the
> name of the virtual server.
>
Thanks for the tip! I looked at the nas.sql file, and in my version (2.1.8) the
server field is commented out.
#
# Table structure for table 'nas'
#
CREATE TABLE nas (
id int(10) NOT NULL auto_increment,
nasname varchar(128) NOT NULL,
shortname varchar(32),
type varchar(30) DEFAULT 'other',
ports int(5),
secret varchar(60) DEFAULT 'secret' NOT NULL,
# server varchar(64),
community varchar(50),
description varchar(200) DEFAULT 'RADIUS Client',
PRIMARY KEY (id),
KEY nasname (nasname)
);
I'll make the changes to the db and to the nas_query and see how things work
out. Thanks again.
More information about the Freeradius-Users
mailing list