User_Role configuration in freeRadius Users file

Ivan Kalik tnt at kalik.net
Tue Jun 30 15:21:10 CEST 2009


> I hope it is /usr/local/share/freeradius/dictionary included in
> raddb/dictionary.

No, it *is* raddb/dictionary.

>
> I added an entry like this & restarted server:
> ATTRIBUTE       User-Role                               208     string

Attribute needs to have number above 3000.

> 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
> MSCHAPv2Authenticator(), 0);

You have to configure an attribute with the same number in client dictionary.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list