Re: NAS type when NAS is stored in SQL?
On 3/19/2010 at 1:40 PM, <freeradius-users-request@lists.freeradius.org> wrote: Do an SQL query.
%{sql: SELECT ...}
Alan DeKok.
I was afraid of that. I looked through the code and it appears as if rlm_sql should populate nastype along with shortname, secret, etc. Anyone know why it's not? -John
Hi,
I was afraid of that. I looked through the code and it appears as if rlm_sql should populate nastype along with shortname, secret, etc. Anyone know why it's not?
it does if the info is there: SELECT id, nasname, shortname, type, secret FROM ${nas_table} (in fact, it can also populate the 'server' too - add that as last option in the SELECT - latest version of FreeRADIUS only!) what does the server say when you start - ie radiusd -X alan
participants (2)
-
Alan Buxey -
John Doppke