18 Jan
2015
18 Jan
'15
9:25 p.m.
On Jan 18, 2015, at 8:37 PM, Keith Olsen <keith.r.olsen@gmail.com> wrote:
I have installed 2.2.6 from source on Ubuntu 14.10 and compiled and installed the sql driver
I uncommented the $INCLUDE sql.conf line in radiusd.conf and assured the sql.conf is configured for my mysql environment.
radiusd -X starts without any errors, but when my switch queries for the mac 2 vlan mapping I get the error:
WARNING: Unknown module "sql" in string expansion “%”
You’re using the SQL module in an expansion, but not using it as a normal module. Version 2 isn’t smart about this. Version 3 is better. You should edit radiusd.conf, and look for the “instantiate” section. Then, add “sql” there. That will fix the problem. Alan DeKok.