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



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

Reply via email to