User_Role configuration in freeRadius Users file

Ivan Kalik tnt at
Tue Jun 30 11:51:07 CEST 2009

> I am using freeRadius for user authentication. I also want to assign roles
> (like type of user) for each user configured in /usr/local/etc/raddb/users
> file as like below. Then I will authorize the user in my radius client
> application based on radius returned role.
> dhandapani   Cleartext-Password := "dhanda"
>        Service-Type = Framed-User,
>        Framed-Protocol = PPP,
>        Reply-Message = "Hello Dhandapani",
>        User-Role = Admin
> Is it possible. I have seen an attribute called 'Aruba-User-Role' but
> looks
> like vendor specific. Is there any way to configure the role?

Does your client know what to do with that attribute? There is no point
configuring it in freeradius if your client can't use it.

Ivan Kalik
Kalik Informatika ISP

More information about the Freeradius-Users mailing list