Thanks Ivan. Sorry it was late response. I was out for sometime. Just want to make sure that the comments in raddb/dictionary says 'If you want to add entries to the dictionary file, which are NOT going to be placed in a RADIUS packet, add them here'. So am I right adding it here? Anyway I tried adding the new attribute in raddb/dictionary. There is no error in client now but the client is not receiving/parsing the new attribute and value. Sorry, how do I add custom attribute in client directory. I could not find any provision to add custom attributes in jradius client side. Please help me.
Also, I could see there are some vendor specific dictionary files like dictionary.juniper. I have defined my own called 'dictionary.test with this custom attribute and included the dictionary in /usr/local/share/freeradius/dictionary but results in same exception. Please advise. Thanks in advance. Regards, Dhandapani Ivan Kalik wrote: > >> 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 > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > -- View this message in context: http://www.nabble.com/User_Role-configuration-in-freeRadius-Users-file-tp24268833p24324892.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html