What capacity does radtest have to display custom attributes
Mark Williams
markhw at vt.edu
Tue Jul 11 21:07:59 CEST 2017
I do remember reading something about that in the comments. Since I was seeing (it appeared) values being added in the debug, I thought that maybe custom attributes could be handed back, but wouldn’t be added automatically.
Alright. I’ll take the VSA route! Thanks!
=======================
Mark Williams
markhw at vt.edu (2A83CAC8)
> On Jul 11, 2017, at 2:59 PM, Alan DeKok <aland at deployingradius.com> wrote:
>
> On Jul 11, 2017, at 2:48 PM, Mark Williams <markhw at vt.edu> wrote:
>>
>> I’ve been experimenting with the server, trying to get it to return arbitrary custom attributes (defined in dictionary.local) to the Radius-reply.
>
> And what is the definition of those attributes? That would help...
>
>> When I run radtest against the virtual-server I see the attributes being added and mentioned in the post-auth debug, but I never see the attribute on the client side of the radtest. Is radtest limited to only displaying officially defined attributes, or might I be doing something obviously ridiculous?
>
> The RADIUS protocol can only transport attributes which are number 1..255, or VSAs. The comments in raddb/dictioanry explain this.
>
> Note that just putting the attributes into dictionary.local isn't good enough. You will probably need to define a VSA. See share/dictionary.* for examples of defining vendor-specific dictionaries.
>
> You will need a private enterprise number. Happily, vt.edu already has one: 1446. So define your own vendor space there, and know that you're not interfering with anyone else. :)
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20170711/ecb93052/attachment.sig>
More information about the Freeradius-Users
mailing list