Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 15:15:58 -0600
From:      Dave Duchscher <daved@tamu.edu>
To:        Darrel <levitch@iglou.com>
Cc:        Thomas Hoffmann <trh411@gmail.com>, FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: freeradius3 error on freebsd10
Message-ID:  <7438287B-D03C-4301-9054-ECC2232A5787@tamu.edu>
In-Reply-To: <alpine.GSO.2.00.1401241126460.2986@shell1>
References:  <alpine.GSO.2.00.1401221021290.3590@shell1> <CAB7-od=JrsU_LrF6xwzNxxJifFMPEA_YGD3ECU09tqDFJH4f=w@mail.gmail.com> <alpine.GSO.2.00.1401221146510.22566@shell1> <56553BCF-B96F-4072-A77F-74010E56BEC0@me.com> <alpine.GSO.2.00.1401241126460.2986@shell1>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Jan 24, 2014, at 10:28 AM, Darrel <levitch@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
>> 
> 
> This works!
> 
> # radiusd -XC
> **********
> Configuration appears to be OK.
> 
> Darrel

Good to hear.  I have filed a PR (186086) to notify the maintainer this issue and pointing him to our discussion.

--
DaveD



[-- Attachment #2 --]
0	*H
010	+0	*H
00r'znn0
	*H
0o10	USE10U
AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA Root0
050607080910Z
200530104838Z010	UUS10	UUT10USalt Lake City10U
The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0"0
	*H
0
9}A;bF7`u9eJGHjM5BI/|1Nd.)բdąQ5yNh{zɤ2O0nFxoY^/m/묡j.g5yiF͠v:z'[=s"HaLi.1 ,׉CZqYں
gT:
wetbh~GeMW(t40b0,00U#0z4&&T$T0Ug}ĝ&pKPH|=n}0U0U00{Ut0r08642http://crl.comodoca.com/AddTrustExternalCARoot.crl06420http://crl.comodo.net/AddTrustExternalCARoot.crl0
	*H
؉o(~TBk	ĠmאfyCqovE7=YxFz[r-F)Iy<mmhOr6j5PρmUY0JmdI|6i9ZK:
D/p%ZTļms2,雄$-zhP?Mg.;N
&DeMR>k2\Al]Xm=G.̎00Ҡ'?	ƯƑ7o0
	*H
010	UUS10	UUT10USalt Lake City10U
The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0
110211000000Z
200530104838Z0d10	UUS10U
	Internet210UInCommon1.0,U%InCommon Standard Assurance Client CA0"0
	*H
0
{v!h
a0	f#x:jMY89"k()5*ld\~En kt<Sȃk,ˠ.f=xT}f4މ7ЃQhZt݂Z Ϊ@+Ȟ3OEٍ3)]LB*0ܙyާ#b関ֲEy=o,]GM:;	":oN{r.'3>W¿	K0G0U#0g}ĝ&pKPH|=n}0U׽3^Y<0U0U00U 
00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0
	*H
8:h&׌$Cɱ*Dp(HGI9WSM/٫SziNB^;{>I{Oj^Br1C9>˵>Ƅu5-被Np&eý2)/kjHp(T~i;8bZ\MS*ݒ5%#Y%Vb83Wb8*Q*;LGq!acI+"65H^b^PHQ!`0X0@;M)CoS0
	*H
0d10	UUS10U
	Internet210UInCommon1.0,U%InCommon Standard Assurance Client CA0
110722000000Z
160721235959Z0x10U
TAMU-ENC10U	Texas A&M University10	UUS10UDavid Duchscher10	*H
	daved@tamu.edu0"0
	*H
0
$Ҭ&Y?	`@"`fʽ""%sEmBu7	AjCU_ˠ@,<$Gڡ(Y.(iq]-6?GiKw@`q,5^3H_B+lQxTl($9鎗.DvHMThi|uR'hн[$4V@a1QRm?OMT!}}986 00U#0׽3^Y<0U2w!M0}kDm7m00U0U00U%0++0jU c0a0_
+#0N0L+@https://www.incommon.org/cert/repository/cps_standard_client.pdf0NUG0E0CA?=http://crl.incommon.org/InCommonStandardAssuranceClientCA.crl0+t0r0J+0>http://cert.incommon.org/InCommonStandardAssuranceClientCA.crt0$+0http://ocsp.incommon.org0-U&0$daved@tamu.edudaved@net.tamu.edu0
	*H
"f\<=OΘ*d)KuVRNٜ/=m2dc0i}PuـӦ75#X&o6m']*?\>]eZcvZ&L96>\ 21g$Ml쯽0[Q#Lxm/xe|$fRSocn]4p=BN,a 8PɖaѭN%;*1eBݿ{>&>ugk|܁(!a?iݛ4100y0d10	UUS10U
	Internet210UInCommon1.0,U%InCommon Standard Assurance Client CA;M)CoS0	+u0	*H
	1	*H
0	*H
	1
140124211559Z0#	*H
	1#&d/rwDs0	+71{0y0d10	UUS10U
	Internet210UInCommon1.0,U%InCommon Standard Assurance Client CA;M)CoS0*H
	1{y0d10	UUS10U
	Internet210UInCommon1.0,U%InCommon Standard Assurance Client CA;M)CoS0
	*H
S~\7u=o,4Ĥ
xYxÀBJu>A
g*{TDl>fK43+;{DљS70QceO1V\,fRGrc<&X D%32Ƞ
GD"*QucJIhS3lv[&}:K*<ta4Ơv64w2SӉwwa~[HťѹgQ|2

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7438287B-D03C-4301-9054-ECC2232A5787>