Hi again, Sorry to bang on about this, but I'm struggling still. Brand new machine, Ubuntu 13.04 server, never had freeradius installed on it. Pulled from git, - (FreeRADIUS Version 3.1.0 (git #209982d), for host x86_64-unknown-linux-gnu, built on Oct 13 2013 at 18:42:55) ./configure Make Make install Nothing else except putting this in the authorize section of a brand new default vs switch "%{control:Tmp-String-0}" { case "" { update control { Tmp-String-0 := "new value" } } } Same outcome : # Loading authorize {...} /usr/local/etc/raddb/sites-enabled/default[222]: "case" statements may only appear within a "switch" section /usr/local/etc/raddb/sites-enabled/default[222]: Failed to parse "case" subsection. /usr/local/etc/raddb/sites-enabled/default[220]: Errors parsing authorize section. It just can't be an old binary, guaranteed this machine has never been near FR. Any ideas? Does anyone mind trying it? Thanks Andy -----Original Message----- From: freeradius-users-bounces+andy.franks=sath.nhs.uk@lists.freeradius.org [mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk@lists.freeradiu s.org] On Behalf Of Alan DeKok Sent: 11 October 2013 18:59 To: FreeRadius users mailing list Subject: Re: Case statement error Franks Andy (RLZ) IT Systems Engineer wrote:
I still get # Loading authorize {...} /usr/local/etc/raddb/sites-enabled/default[222]: "case" statements may only appear within a "switch" section
You need to upgrade your binary. You're not using the latest version. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi, this error is also present with 3.1.0 when using the provided orginate-coa virtual-server - so its reproducable with a minimally adjusted configuration (just drop originate-coa from sites-available to sites-enabled) alan
A.L.M.Buxey@lboro.ac.uk wrote:
this error is also present with 3.1.0 when using the provided orginate-coa virtual-server - so its reproducable with a minimally adjusted configuration (just drop originate-coa from sites-available to sites-enabled)
Ah... a fix wasn't pulled over from v3.0.x to master. I've just done that now. Alan DeKok.
Franks Andy (RLZ) IT Systems Engineer wrote:
Hi again, Sorry to bang on about this, but I'm struggling still. Brand new machine, Ubuntu 13.04 server, never had freeradius installed on it. Pulled from git, - (FreeRADIUS Version 3.1.0 (git #209982d),
I didn't see the 3.1.0... At this point, you may want to be running from the 3.0.0 release, or the v3.0.x branch. There are NO new features in "master" (3.1.0) over 3.0.0. Our plan for 3.1.0 is to finish the conversion to "talloc", which may introduce instabilities. In contrast, 2.2.x and 3.0.x will have minimal changes. Alan DeKok.
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Franks Andy (RLZ) IT Systems Engineer