From owner-freebsd-stable@FreeBSD.ORG Fri Jan 24 16:28:14 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 32F26C9F for ; Fri, 24 Jan 2014 16:28:14 +0000 (UTC) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id E40431ECD for ; Fri, 24 Jan 2014 16:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=8oUVi8BFHsDWVj5eltwm6SbdP8NXQPS9r8TMjKWwTNM=; b=SjWW5RilLC2m1zoVZAhVUKoiftKOGhRum5nj5A9YINwpHCFioWhELQO7JblB1gvOEPUhakUrcpcrA9hJX/vTttkLomgaDyaHnR1tiZzO2B/x5HkZPmMdBG0IBdJgYU1lcRzk5pXKqv02K6OQYBJLFmjgvBLEGqGcvixwd74R2xo=; Received: from iglou2.iglou.com ([192.107.41.8]:39584 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1W6jbz-0006iy-Cl by authid with igloumta_auth for freebsd-stable@freebsd.org; Fri, 24 Jan 2014 11:28:07 -0500 Received: from shell1.iglou.com ([192.107.41.17]:64419 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1W6jby-0001ou-Ki; Fri, 24 Jan 2014 11:28:06 -0500 Date: Fri, 24 Jan 2014 11:28:06 -0500 (EST) From: Darrel X-X-Sender: levitch@shell1 To: Dave Duchscher Subject: Re: freeradius3 error on freebsd10 In-Reply-To: <56553BCF-B96F-4072-A77F-74010E56BEC0@me.com> Message-ID: References: <56553BCF-B96F-4072-A77F-74010E56BEC0@me.com> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b 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 16:28:14 -0000 >>>> >>>> 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