Re: Custom Reply Attribute Ranges

2005-07-05 Thread Alan DeKok
Chey <[EMAIL PROTECTED]> wrote:
>I am using some custom attributes in my reply packet but I am a
> little confused. According to the
> /usr/local/share/freeradius/dictionary file it states that "ranges
> 500-999 are server-side attributes which can go in the reply list."
  ^^^

> Based on my tests it seems the ranges for reply attributes is only
> 0-255.

  The "server-side" attributes are ones used internally by FreeRADIUS.
They do not go into packets.

> I guess my question is, what are the ranges I can use for custom
> attributes that FreeRadius will actually send in a reply?

  You want to use vendor-specific attributes.  See the "dictionary.*"
files.

  You do NOT want to define your own attributes with numbers 0-255.
You will cause yourself no end of trouble.

> Depending on the answer to that question...Is there a problem with the
> documentation in the dictionary file?

  No.

  Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Custom Reply Attribute Ranges

2005-07-02 Thread Chey
Hello,
   I am using some custom attributes in my reply packet but I am a
little confused. According to the
/usr/local/share/freeradius/dictionary file it states that "ranges
500-999 are server-side attributes which can go in the reply list."
Based on my tests it seems the ranges for reply attributes is only
0-255.

Using my custom attributes I receive a reply if I use 255, but if i
use 560 I don't receive my attribute in the reply.

I guess my question is, what are the ranges I can use for custom
attributes that FreeRadius will actually send in a reply?

Depending on the answer to that question...Is there a problem with the
documentation in the dictionary file?

FreeRadius Version 1.0.4
Using MySQL for authentication
on Debian

Regards,
Chey

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html