From owner-freebsd-fs@FreeBSD.ORG Fri Aug 8 08:08:01 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74023106567B for ; Fri, 8 Aug 2008 08:08:01 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id 299608FC1A for ; Fri, 8 Aug 2008 08:08:01 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id 1F2B13FB6; Fri, 8 Aug 2008 09:07:18 +0100 (BST) Message-Id: From: Doug Rabson To: Rick Macklem In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Fri, 8 Aug 2008 09:07:59 +0100 References: <86myk06e18.fsf@ds4.des.no> <326AF658-D96D-4410-9E32-0001FF8264AA@rabson.org> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-fs@freebsd.org, =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Subject: Re: Which GSSAPI library does FreeBSD use? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 08:08:01 -0000 On 8 Aug 2008, at 01:04, Rick Macklem wrote: > > > On Mon, 4 Aug 2008, Doug Rabson wrote: >> >> Try using current - I updated heimdal to 1.1 in current. >> >> The GSS-API implementation in 7.x and current is a plugin system >> which heimdal's krb5 code plugs into as a GSS-API mechanism >> provider. With heimdal 1.1, it also supports spnego and ntlm as >> plugins. >> > Well, vanilla Heimdal-1.1 seems to work fine. However, when I try to > link > to the libraries in FreeBSD-CURRENT, I get a bunch of multiply defined > globals, because it gets both external.o and gss_names.o, out of > libgssapi.a and libgssapi_krb5.a respectively. Don't use static linking? > > Btw, I was able to use gss_inquire_sec_context_by_oid() to get the > session key out of the security context. Excellent.