virtual server and clients from sql
Norbert Wegener
norbert.wegener at siemens.com
Mon Jul 7 18:22:32 CEST 2008
With the actual git/cvs I wanted to setup client based virtual Servers,
where the clients are stored in a mysql database.
I added a column "server" to the nas table and set it to the name of a
virtual server.
...
rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname,
shortname, type, secret FROM nas^M
rlm_sql (sql): Reserving sql socket id: 4^M
rlm_sql (sql): Read entry
nasname=149.246.222.54,shortname=149.246.222.541,secret=testing123^M
rlm_sql (sql): Adding client 149.246.222.54 (149.246.222.541,
server=<none>) to clients list^M
...
It seems, the value for server is ignored. Maybe the SELECT statement in
rlm_sql.c has to be modified?
Or do I have to configure anything else?
Thanks
Norbert Wegener
More information about the Freeradius-Users
mailing list