From owner-freebsd-stable@FreeBSD.ORG Fri Jan 24 01:43:23 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7778A23 for ; Fri, 24 Jan 2014 01:43:23 +0000 (UTC) Received: from os-mail-1.tamu.edu (os-mail-1.tamu.edu [165.91.23.62]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 77E6113CF for ; Fri, 24 Jan 2014 01:43:23 +0000 (UTC) X-TAMU-Auth-ID: daved X-TAMU-SenderIP: 128.194.199.96 X-HAT: SG None, P $RELAY, L incoming_auth X-SRBS: None X-EXTLoop1: 128.194.199.96 X-IronPort-AV: E=Sophos;i="4.95,709,1384322400"; d="scan'208";a="470134695" Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: freeradius3 error on freebsd10 From: Dave Duchscher In-Reply-To: Date: Thu, 23 Jan 2014 19:43:14 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <56553BCF-B96F-4072-A77F-74010E56BEC0@me.com> References: To: Darrel X-Mailer: Apple Mail (2.1510) Cc: Thomas Hoffmann , FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 01:43:23 -0000 On Jan 22, 2014, at 10:49 AM, Darrel wrote: >=20 >>>=20 >>> Perhaps this should be sent to the freeradius list. I have not = built >>> freeradius3 anywhere else- so not sure. >>>=20 >>> "Errors reading dictionary: dict_init: /usr/local/share/freeradius/ >>> dictionary.dhcp[208]: >>> Type "tlv" can only be for "format=3D1,1". >>>=20 >>> I do not even want the dhcp dictionary. It arrived with the others. >>>=20 >>> The only option I added to the build was "with postgresql support". >>>=20 >>> Anyone familiar with this? >>>=20 >>> Darrel >>=20 >>=20 >> 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. >>=20 >> - Tom >=20 > Totally new build. >=20 > /usr/ports/net/freeradius3 >=20 > I just joined the freeradius users list. >=20 > 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