Re: using user-defined attributes and radreply

This is a discussion on Re: using user-defined attributes and radreply within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hi, > ATTRIBUTE myattrib 340 string > > ATTRIBUTE myattrib2 341 integer > > VALUE myattrib2 value0 0 > > ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2005
Stefan.Neis@t-online.de
 
Posts: n/a
Default Re: using user-defined attributes and radreply

Hi,


> ATTRIBUTE myattrib 340 string
>
> ATTRIBUTE myattrib2 341 integer
>
> VALUE myattrib2 value0 0
>
> VALUE myattrib2 value1 1
>
> VALUE myattrib2 value2 2
>
>
>
> Now im not entirely sure whether this is right. Using the limited
> documentation, it appears that values 340 & 341 are currently unused and =

seem
> to correct ones to use for the required reply (I have also tried other u=

nused
> values in other free ranges, e.g. 2000 &2001).


IIRC, RADIUS defines attributes to be just one byte, i.e. the value must be
less than 256. Everything with a larger value is either for server's intern=
al
use only (and since it just can't be transmitted according to protocol spec=
s,
that's a nice trick to mark those) or maybe a somewhat "strange" representa=
tion
for a vendor specific attribute (those are the way to get around that limit=
ation
of 256 attributes).

I'd recommend to read a bit about "vendor specific attributes", and use tho=
se
for your own attributes. Essentially, just additionally define a new "Vendo=
r ID"
and then define attributes for that new "vendor", using 1,2,... instead of
340,341, ...

HTH,
Stefan



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0