Thanks. We installed our freeradius about 6 months ago.But still, the 'unlang' is giving me some trouble, I can't start freeradius, probably the condition below is wrong, something with the syntax? This is what freeradius is complaining about: /etc/freeradius/users[99]: Parse error (reply) for entry DEFAULT: expecting '=' <------ this in my users file (line 99) is exactly where the condition (if) starts Errors reading /etc/freeradius/users radiusd.conf[1070]: files: Module instantiation failed. radiusd.conf[1856] Unknown module "files". radiusd.conf[1792] Failed to parse authorize section. root@mars:/etc/freeradius# And here is mu unlang section: DEFAULT User-Name =~ "^([aA-zZ]+)-([aA-zZ]+)$", Cleartext-Password := "csetestp" Alc-Subsc-ID-Str := "%{NAS-Port-Id}", Alc-Subsc-Prof-Str := "%{1}", Alc-SLA-Prof-Str := "%{2}", Alc-MSAP-Serv-Id := "100", Alc-MSAP-Policy := "msaps", Alc-Default-Router := 20.0.0.1, Framed-IP-Netmask := 255.255.0.0, Session-Timeout := 600, if (Alc-Subsc-Prof-Str == basic) { Framed-IP-Address := 21.0.0.1, } Fall-Through = Yes DEFAULT NAS-Port-Id =~ "^([^:]+):" Alc-MSAP-Interface := "port-%{1}" On Fri, Aug 7, 2009 at 11:17 AM, Alan DeKok <aland@deployingradius.com>wrote:
Marlon Duksa wrote:
Sorry - by my posting I meant to imply that 'unlang' module might be required but not installed, do I need to install it, is it part of original FR installation, etc.
It's installed as part of the normal server installation.
If you don't have it, you are running a version of the server that is over 2 years old.
Upgrade.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html