freeradius3 error on freebsd10
Dave Duchscher
daved at me.com
Fri Jan 24 01:43:23 UTC 2014
On Jan 22, 2014, at 10:49 AM, Darrel <levitch at iglou.com> wrote:
>
>>>
>>> Perhaps this should be sent to the freeradius list. I have not built
>>> freeradius3 anywhere else- so not sure.
>>>
>>> "Errors reading dictionary: dict_init: /usr/local/share/freeradius/
>>> dictionary.dhcp[208]:
>>> Type "tlv" can only be for "format=1,1".
>>>
>>> I do not even want the dhcp dictionary. It arrived with the others.
>>>
>>> The only option I added to the build was "with postgresql support".
>>>
>>> Anyone familiar with this?
>>>
>>> Darrel
>>
>>
>> IIRC, that error means you are using a 2.x dictionary with a 3.x version.
>> You should not get that error with a clean 3.x installation. Are you
>> installing 3.x over 2.x? If so, I'd suggest wiping the 2.x version first,
>> than installing 3.x. For more in depth info I'd suggest the freeradius
>> lists.
>>
>> - Tom
>
> Totally new build.
>
> /usr/ports/net/freeradius3
>
> I just joined the freeradius users list.
>
> Thank you,
> Darrel
I dug into this a little to see what is up and I think I have found the issue. To manually fix your problem, you need to disable the DHCP dictionary by commenting out this line:
$INCLUDE dictionary.dhcp
in /usr/local/share/freeradius/dictionary and remove /usr/local/etc/raddb/mods-enabled/dhcp file.
What is going on is that freeradius 3 default setup is with DHCP enabled and its default configuration is setup that way. The port by default, disables building with DHCP (currently fails to build properly with DHCP support) but does not fix up the default configuration.
--
DaveD
More information about the freebsd-stable
mailing list