Unlang Condition Wrong Value !

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Aug 8 11:52:45 CEST 2011


On 8 Aug 2011, at 11:32, Arran Cudbard-Bell wrote:

> 
> On 8 Aug 2011, at 11:09, Suman Dash wrote:
> 
>> What i mean to say is that i am not using an integer to store the
>> value as integer is limited to 32bit, Instead i am directly comparing
>> output from sql query in Unlanf but it doesn't seems to work either.

Because what comes back from XLAT is a string, and FreeRADIUS needs to do the conversion to an integer before it can compare the result to another integer. As there's no 64bit attribute type in the RADIUS protocol, it's probably going to do the conversion to a 32bit integer even if 64bit integers are available.

Just compare the results of the two subqueries in an SQL statement.

-Arran






More information about the Freeradius-Users mailing list