freeradius now broken

Sean McNeil sean at mcneil.com
Thu Feb 2 23:40:06 PST 2006


On Fri, 2006-02-03 at 16:21 +1100, Sam Lawrance wrote:
> On 03/02/2006, at 10:23 AM, Sean McNeil wrote:
> 
> > Hi folks,
> >
> > A recent recompile of FreeRadius renders it unusable.  Nothing in
> > UPDATING to explain it, but it appears that it looks for the config  
> > file
> > in /var/log/ now:
> >
> > Thu Feb  2 13:26:18 2006 : Error: Errors reading /var/log/ 
> > radiusd.conf:
> > For more information, please read the tail end of /var/log/radius.log
> 
> I think it's printing the wrong filename there (ie. it's not really  
> reading /var/log/radiusd.conf), but that's all.
> 
> What did your /var/log/radius.log say?

Yes, that isn't the true problem.  The true problem appears to be an
issue with tokens and multiple definitions:

Thu Feb  2 15:37:14 2006 : Error: Errors reading dictionary:
dict_init: /usr/local/share/freeradius/dictionary.ascend[1233]:
dict_addvalue: Duplicate value name Route-IPX-No for attribute
X-Ascend-Route-IPX


Fix this, then I get

Thu Feb  2 15:38:00 2006 : Error: Errors reading dictionary:
dict_init: /usr/local/share/freeradius/dictionary.redback[388]:
dict_addvalue: Duplicate value name LAC-Only for attribute
Tunnel-Function

Fix this by cutting out the old ones with "_" instead of "-", then:

Thu Feb  2 15:41:54 2006 : Error: Errors reading dictionary:
dict_init: /usr/local/share/freeradius/dictionary.freeradius.internal[307]: dict_addvalue: Duplicate value name Local for attribute Post-Auth-Type

fix this by removing PostAuth-Type from compat (I think that is what I
did. Sorry I didn't keep close track):

Thu Feb  2 15:45:10 2006 : Error: dict_addvalue: Duplicate value name
PAP for attribute Auth-Type

This point I didn't know what to do as I need that info in my
radiusd.conf.


By the way, this is on amd64 and there might be some 32/64 bit issue
with the parser.

Cheers,
Sean




More information about the freebsd-ports mailing list