RE: Case statement error

2013-10-13 Thread Franks Andy (RLZ) IT Systems Engineer
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...@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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Case statement error

2013-10-13 Thread A . L . M . Buxey
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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Book for freeradius 3.0

2013-10-13 Thread Osvaldo T Crispim Filho
Is there any book about the new version of FreeRADIUS 3.0?


-- 
 - Osvaldo T Crispim Filho -
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Case statement error

2013-10-13 Thread Alan DeKok
a.l.m.bu...@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.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html