User_Role configuration in freeRadius Users file
dhandu_k at yahoo.co.in
Tue Jun 30 14:06:20 CEST 2009
I hope it is /usr/local/share/freeradius/dictionary included in
I added an entry like this & restarted server:
ATTRIBUTE User-Role 208 string
But with JRadius client, I am getting 'Invalid RADIUS Authenticator' after
this new attribute. I am calling the server using the below code. I tried
using PAPAuthenticator also but same error.
RadiusPacket reply = radiusClient.authenticate(request, new
Can you help me why I am getting this error?
Ivan Kalik wrote:
> OK then. Your users file example looks fine. All you have to do is define
> this custom attribute in raddb/dictionary.
> Ivan Kalik
> Kalik Informatika ISP
>> Yes Ivan. I am sure that I will utilize the server configuration in
>> I am able to read the response and parse the attributes from client. For
>> example, I am able to read the value of the attribute 'Reply-Message'
>> its name or the code 18. Same way I want to read the userType and
>> the features of my client. Please advise.
>> Thanks in advance.
>> Ivan Kalik wrote:
>>>> I am using freeRadius for user authentication. I also want to assign
>>>> (like type of user) for each user configured in
>>>> 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
>>>> 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
>>> List info/subscribe/unsubscribe? See
>> View this message in context:
>> Sent from the FreeRadius - User mailing list archive at Nabble.com.
>> List info/subscribe/unsubscribe? See
> List info/subscribe/unsubscribe? See
View this message in context: http://www.nabble.com/User_Role-configuration-in-freeRadius-Users-file-tp24268833p24270722.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
More information about the Freeradius-Users