NAS type with NAS defined in SQL (FR 2.1.6)

John Doppke John.Doppke at TRW.COM
Wed Sep 15 16:41:41 CEST 2010


I've tried dozens of ways but I can't figure out how to get the NAS type for clients defined in MySQL.

The column is populated, the query has the correct fields matching the source code for the module.  The module appears to populate the address, shortname, nastype, secret and virtual server.  Yet when I expand "${client:nastype}" I only get a value for clients defined in the clients file.  SQL clients are always blank.

I know I could do a special SQL query on each request, but I shouldn't have to.  The data should already be in a variable.

-John





More information about the Freeradius-Users mailing list