Semantics of !~ operator
Gerald Vogt
vogt at spamcop.net
Wed Apr 29 08:12:06 CEST 2015
On 28/04/15 21:26, A.L.M.Buxey at lboro.ac.uk wrote:
> (7) update request {
> (7) EXPAND %{outer.request:Called-Station-SSID}
> (7) --> MYSSID
> (7) Called-Station-SSID := "MYSSID"
> (7) } # update request = noop
> (7) if ( Called-Station-SSID )
> (7) if ( Called-Station-SSID ) -> TRUE
> (7) if ( Called-Station-SSID ) {
> (7) update reply {
> (7) EXPAND 3: Called-Station-SSID = %{Called-Station-SSID}
> (7) --> 3: Called-Station-SSID = MYSSID
> (7) Reply-Message += "3: Called-Station-SSID = MYSSID"
>
>
> so %{outer.request:Called-Station-SSID} is required...and is picked up.
Yes, I know that. But in
<0A74CE5E-8459-465C-A896-81CBDE0F9CF3 at deployingradius.com> Alan wrote:
> You should be able to do:
>
> update request {
> Called-Station-SSID := &outer.request:Called-Station-SSID
> }
>
> If that doesn't work, it's likely a bug.
Others suggested the same or similar. But that doesn't work.
"%{outer.request:Called-Station-SSID}" works.
&outer.request:Called-Station-SSID works not.
I am not supposed to be too pedantic about the "should" thus I can only
put these results here and let someone conclude who knows the internals
of freeradius.
-Gerald
More information about the Freeradius-Users
mailing list