Vendor-Specific attributes in Modules

Vincent Arniego vincent_arniego at yahoo.com
Fri Apr 18 11:56:51 CEST 2008


Hi Alan,

Thanks for the help, it worked. Were getting the attributes

But somehow the messages we're getting have that attribute around 3 times in the request.

This is from the file were feeding radclient:

Nokia-Avpair="ita:ubi=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"
Nokia-Avpair+="ita:ubo=0/231/75672/97893/864/55/5676/247/235578/46759/110/12118/76812/1978453/1534/15359/11246"
Nokia-Avpair+="ita:sc=0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16"

How do we distinguish each of the values for parsing in the module?

Thanks!


----- Original Message ----
From: Alan DeKok <aland at deployingradius.com>
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Sent: Friday, April 18, 2008 5:15:13 PM
Subject: Re: Vendor-Specific attributes in Modules

Vincent Arniego wrote:
> I'm creating a module that gets the value of these attributes.
> But for now I'm just testing how to get the values of these attributes.
> 
> According to the modules wiki
> http://wiki.freeradius.org/Modules#Accessing_Radius_Request_Attributes
> I just have to put NOKIA_AVPAIR to get the value 

  No.  The attribute names for *compilation* are define in
src/include/radius.h.  If you need a nokia VSA, define it there.  Look
at PW_MSCHAP_RESPONSE for an example of defining a VSA.

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






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080418/586eb2ff/attachment.html>


More information about the Freeradius-Users mailing list