Case statement error

Franks Andy (RLZ) IT Systems Engineer Andy.Franks at sath.nhs.uk
Fri Oct 11 15:04:53 CEST 2013


Hi again.
I'm confused now. I've recompiled, renamed all old folder under
/usr/local and done a complete reinstall. 
I've pared it all down and simply put 

switch "%{control:Tmp-String-0}" {
  case "" {
    update control {
      Tmp-String-0 := "new value"
    }
  }
}
In the default VS.

I still get 
# 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.

I'm running git #57e69c9

Sorry, but I can't see what I'm doing wrong!
Thanks 
Andy


-----Original Message-----
From:
freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradius.org
[mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradiu
s.org] On Behalf Of Alan DeKok
Sent: 09 October 2013 15:26
To: FreeRadius users mailing list
Subject: Re: Case statement error

Franks Andy (RLZ) IT Systems Engineer wrote:
> Trying version #d166290 results in

  Which is old.  The bug has already been fixed.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list