Encode multiple sub-attributes in single vsa?

Far.Runner far.runner at gmail.com
Mon Oct 8 05:34:27 CEST 2012


2012/10/6 Alan DeKok <aland at deployingradius.com>:
>   You can use the Perl RADIUS libraries to create a packet.
>
>   Or, use "Raw-Attribute" in FreeRADIUS.  It puts data into a packet
> exactly as-is.  It means that you do the work of creating a VSA with
> subattributes, and FreeRADIUS handles all of the signing, packet
> sending, etc.
>
>   e.g.:
>
> bob     Cleartext-Password := "bob"
>         Raw-Attribute = 0x1a1200000001010612345678020612345678"
>
>   You'll have to create the contents of the VSA by hand.

Great tip, I think Raw-Attribute should do the work.
Thanks!


More information about the Freeradius-Users mailing list