nas table in rlm_sql module - usage
A.L.M.Buxey at lboro.ac.uk
A.L.M.Buxey at lboro.ac.uk
Tue Feb 13 18:45:10 CET 2007
Hi,
> SQL refuses to start when I comment out the INCLUDE line with clients.conf.
> Is there anything else I have to change so that it knows to look to SQL for
> a table of acceptable NAS's and to get it to run other than commenting out
> this INCLUDE statement?
last time I looked, you still had to have a stub clients.conf - even with just
a fake client in it.
to USE the NAS SQL table, simply look at the bottom few lines of sql.conf -
its self documented!
# Set to 'yes' to read radius clients from the database ('nas' table)
readclients = yes
ensure that the other lines in sql.conf are okay eg
nas_table = "nas"
# NAS Query
nas_query = "SELECT id, nasname, shortname, type, secret FROM ${nas_table}"
alan
More information about the Freeradius-Users
mailing list