From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 12 06:52:46 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 764967ED; Wed, 12 Nov 2014 06:52:46 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 52748224; Wed, 12 Nov 2014 06:52:45 +0000 (UTC) Received: from Julian-MBP3.local (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id sAC6qV5I060273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 11 Nov 2014 22:52:35 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <546303A2.2070401@freebsd.org> Date: Wed, 12 Nov 2014 14:52:18 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "Timur I. Bakeyev" Subject: Re: samba/NSSWITCH interaction in fbsd 10 vs fbsd 8 References: <5460AC13.5060001@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: hackers@freebsd.org, FreeBSD Current X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2014 06:52:46 -0000 On 11/11/14, 4:28 PM, Timur I. Bakeyev wrote: > Do you use net/samba36 port? Looks like you don't... It occurred to me after posting to check the port and I found this.. The company decided to go the independent route before I joined so they don't use the port. They have a huge set of diffs to samba so it kind of makes sense. > > @@ -6336,12 +6373,13 @@ > NSSSONAMEVERSIONSUFFIX=".2" > WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_linux.o" > ;; > - *freebsd[[5-9]]*) > + *freebsd*) > # FreeBSD winbind client is implemented as a wrapper > around > # the Linux version. > NSSSONAMEVERSIONSUFFIX=".1" > WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_freebsd.o \ > ../nsswitch/winbind_nss_linux.o" > + WINBIND_WINS_NSS_EXTRA_OBJS="../nsswitch/wins_freebsd.o" > WINBIND_NSS="../nsswitch/nss_winbind.$SHLIBEXT" > WINBIND_WINS_NSS="../nsswitch/nss_wins.$SHLIBEXT" > ;; > > > On Mon, Nov 10, 2014 at 1:14 PM, Julian Elischer > wrote: > > When I try use the libnss_winbind.so that is generated by samba > 3.6 I get the following message: > > NSSWITCH(nss_load_module): winbind, Undefined symbol > "nss_module_register". > > First I have to change its' name to nss_winbins.so.1 however > because that is what nsswitch is looking for.... > (BTW where is that documented??) > > then it finds it but fails as mentioned above. > > This same samba source generates good nss files in 8.0 but under > 10 it fails.. Literally it's the same sources just checked out > into a different build system. (10 vs 8). > > Has there been a change in the API for the nss modules? where it > he API for nsswitch files documented? > > Julian > _______________________________________________ > freebsd-current@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org > " > >