New attribute on old freeradius server

Alan DeKok aland at deployingradius.com
Thu Aug 2 20:12:19 CEST 2012


Tiago wrote:
> I'm trying to implement an new radreply attribute on an old freeradius
> 1.x production server that should be replaced on the next days.
> 
> I've set a user attribute on my mysql database - table radreply like:
> Shape = 1
> 
> I've added that new attribute on my dictionary file
> /etc/freeradius/dictionary (ubuntu server) like:
> 
> .....
> ......
> ATTRIBUTE       Shape           86      integer

  No.  Attribute 86 is already defined.  Don't use it.

  Use 3000 instead.  This is documented in newer versions of the server.

> I'm doing some radtests and I'm getting this:
> 
> Thu Aug  2 14:43:49 2012 : Error: rlm_sql: Failed to create the pair:
> Unknown attribute "Shape"
> Thu Aug  2 14:43:49 2012 : Error: rlm_sql (sql): Error getting data
> from database
> Thu Aug  2 14:43:49 2012 : Auth: Login OK: [user] (from client pppoe02 port 0)
> 
> Where else should I look for?

  Well... the server isn't reading the dictionary file you edited.

  Alan DeKok.


More information about the Freeradius-Users mailing list