"Joseph Kwan" <[EMAIL PROTECTED]> wrote:
> I would like to return a negative number to RADIUS client in a VSA. The data 
> type of the attribute is defined as 'integer'. But 'integer' for RADIUS 
> should be an unsigned integer. Can anyone tell me how can I put a negative 
> number in the attribute?

  You can't.  They're unsigned integers.  If the NAS wants them as
negative numbers, then it's broken.

  Your only option here is to  use a large number e.g. (2^32-1), and then
hope that that the NAS will treat it as negative.

  Alan DeKok.

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

Reply via email to