From owner-freebsd-current@FreeBSD.ORG Tue Oct 6 22:55:13 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6913F1065693; Tue, 6 Oct 2009 22:55:13 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 03F608FC19; Tue, 6 Oct 2009 22:55:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAChoy0qDaFvH/2dsb2JhbADUfIQqBIFT X-IronPort-AV: E=Sophos;i="4.44,515,1249272000"; d="scan'208";a="50727866" Received: from danube.cs.uoguelph.ca ([131.104.91.199]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 06 Oct 2009 18:55:11 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id E750B1084764; Tue, 6 Oct 2009 18:55:11 -0400 (EDT) X-Virus-Scanned: amavisd-new at danube.cs.uoguelph.ca Received: from danube.cs.uoguelph.ca ([127.0.0.1]) by localhost (danube.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zYKSmOutfkWM; Tue, 6 Oct 2009 18:55:11 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 1D2731084752; Tue, 6 Oct 2009 18:55:11 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n96N1QW26729; Tue, 6 Oct 2009 19:01:26 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 6 Oct 2009 19:01:26 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: John Baldwin In-Reply-To: <200910020824.15488.john@baldwin.cx> Message-ID: References: <4AB27FB6.4010806@eng.auth.gr> <20090921222241.GF1001@rwpc12.mby.riverwillow.net.au> <20091002081319.GN37304@rwpc12.mby.riverwillow.net.au> <200910020824.15488.john@baldwin.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: George Mamalakis , Doug Rabson , freebsd-current@freebsd.org, John Marshall Subject: Re: [PATCH] SASL problems with spnego on 8.0-BETA4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 22:55:13 -0000 On Fri, 2 Oct 2009, John Baldwin wrote: > > Hmmm, I thought that libgssapi was supposed to use dlopen to load the proper > back-end libraries using /etc/gss/mech rather than having applications > directly link against them. > I think the problem is that the global var. defined in -lgssapi doesn't get used by the app. so the .o file in -lgssapi where it's defined doesn't get loaded. (Can't remember the exact name, but it's something like GSS_C_HOST_BASED_NAME.) Then, when -lgssapi-spengo gets loaded, it can't resolve it. (I don't know enough about dynamic linking to know the correct way to fix this. The patch I suggested got it working...) rick