Adding Vendor Specific Attribute to the Access-Accept

Josip Almasi joe at vrspace.org
Thu Apr 28 13:28:10 CEST 2011


normal ozone wrote:
> Hello,
> 
> I want to be able to receive the Vendor Specific Attribute that I set in 
> a user.
> For example I added the following attribute to my user using daloradius:
>  Vendor: dictionary.freeradius.internal
>  Attribute: User-Category
>  Value: MyCategory

Better check dictionary file.

> In the Oreilly Manual it mentions that Access-Accept can send Optional 
> attributes.
> Is there a way to setup freeradius so that this attribute can be 
> included in the Access-Accept message?

Sure, just add them to users file, same as any other attributes.
FR will complain if you add some attributes which are not in the dictionary.

> By the way I'm using the installer version of freeradius for my radius 
> server. And my radius client
> is also a pc (I use a java library named TinyRadius)

I use TiniRadius too, mighty fine.

Regards...




More information about the Freeradius-Users mailing list