Problem with Local variable especially when its negative

Mrinal K sinha.mrinal at gmail.com
Thu May 5 19:02:24 CEST 2016


@Paul I tried that, but it threw a parsing error

@Alan : I modified the logic to avoid negative values and it works
perfectly. Thank you, much appreciate the help.

And yes I will update the server asap, I have been lazy about it for too
long.

On Thu, May 5, 2016 at 8:24 PM, Alan DeKok <aland at deployingradius.com>
wrote:

> On May 5, 2016, at 6:14 AM, Mrinal K <sinha.mrinal at gmail.com> wrote:
> > I have added some unlang code in the authorize section of my
> configuration,
> > however I am having some trouble with the values in my variables. My
> server
> > is running Version 2.1.12.
>
>   You should upgrade to a modern version of the server.
>
> > Its pretty straight forward and work well till My-Local-Int-3 has value
> > which is greater than 0. However when value of My-Local_Int-3 is in
> > negative
>
>   It cannot be negative.
>
>   The "integer" type in RADIUS is an unsigned 32-bit number.  This is
> documented in the dictionary file you edited to add "My-Local_Int-3".
>
>   Fix your policies so that they don't require the use of negative
> integers.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list