Re: Reply VSA Attributes in a list



I hope you have understand my problem right, but i will try to re explain it. i want to add the vp list in a VSA like following. (the way that NTRadping utility sends the vps)
VSA
    ->vp
   ->vp
   ->vp
This problem is my bottle line for me and i have to do it, because the client's application knows the attributes that way.

please guide me where and what are the code changes that i have to make, and what structure i have to follow.
special thanks.

Regards
FQ

Message: 6
Date: Thu, 13 Sep 2007 07:28:45 +0200
From: Alan DeKok <aland@deployingradius.com>
Subject: Re: Reply VSA Attributes in a list
To: FreeRadius users mailing list
	<freeradius-users@lists.freeradius.org>
Message-ID: <46E8CA8D.5020606@deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1

Faqeer ALI wrote:
> In the response packet i want to add the VPS such that the VSA of one
> vendor attaches in a specific vendor list, ie specify the vendor once
> and then the list of attributes in it.

  You mean inside of the RADIUS packet?

> By pairadd(&request->reply->vps,vp) the vps are added one after the
> another, but i want it such that there would be the name of the specific
> vendor once and list of attributes to follow behind it..

  The VALUE_PAIRs don't work that way.

  For a number of reasons, FreeRADIUS doesn't pack multiple VSA's into
one Vendor-Specific attribute.  There are interoperability issues, and
it would also require code changes.

  Alan DeKok.


_________________________________________________________________
Gear up for Halo® 3 with free downloads and an exclusive offer. http://gethalo3gear.com?ocid=SeptemberWLHalo3_MSNHMTxt_1





This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.