Encode multiple sub-attributes in single vsa?
Far Runner
far.runner at gmail.com
Tue Oct 9 23:22:02 CEST 2012
On Sat, Oct 6, 2012 at 4:03 AM, Alan DeKok <aland at deployingradius.com> wrote:
>
> 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.
>
I have tried Raw-Attribute, but the result packet doesn't contain the
synthesized VSA, and there is no error message in "-X" debug output. I
search around, and found following in 2.0.2 release notes:
"* Added ability send raw attributes via "Raw-Attribute =
0x0102..."This is available only debug builds. It can be used to
create invalid packets! Use it with care."
so it seems Raw-Attribute only work with a"debug build", but how do I
install a "debug build"?
More information about the Freeradius-Users
mailing list