Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Feb 2006 23:40:01 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        Sam Lawrance <boris@brooknet.com.au>
Cc:        ports@FreeBSD.org
Subject:   Re: freeradius now broken
Message-ID:  <1138952401.43373.4.camel@triton.mcneil.com>
In-Reply-To: <07723DE0-E6F8-4ADE-8808-60FECF13C309@brooknet.com.au>
References:  <1138922602.96068.1.camel@triton.mcneil.com> <07723DE0-E6F8-4ADE-8808-60FECF13C309@brooknet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1138952401.43373.4.camel>