Problem with Local variable especially when its negative

Alan DeKok aland at deployingradius.com
Thu May 5 16:54:29 CEST 2016


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.




More information about the Freeradius-Users mailing list