From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 08:29:06 2014 Return-Path: Delivered-To: current@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 72E67943 for ; Tue, 11 Nov 2014 08:29:06 +0000 (UTC) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4107D7E2 for ; Tue, 11 Nov 2014 08:29:05 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id rp18so10994877iec.12 for ; Tue, 11 Nov 2014 00:28:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=T2DyZTiwLZedy5vWO/DAk1bQJKSsmitpEvUvaqHv4SU=; b=ePYyanhm5gz6vNY51tp+w8PrNgKldFONnhARk1jJcTypi6bSK3xWkwIyBZr+Nkte62 Ydu4NvysyTzSPIweBZcu1lqDi7ZybkcpqylgdZA9uQg31aGkk/SrXWMa7FVXLFPa7GPA lKwjjqyPew4ckTzv1J9evMwJGDmHOqvKTt1vvZv1ETR2wGYcty+EW1vn9YsmXZ39KaMX eMCT2L4wCZ+LtCVur7/NJPeUNJF319H10IpWtcj7mg81b7eZKIXy9hyZBoyxnDYEmyVT HORlReWTk8i8ldqaDaREpA86kyb41PBARthQ6UiUBwwrvSz3KyH4FGjkH9FIumEEfA4G s9nw== X-Gm-Message-State: ALoCoQmS1mCfElTchhsn3Qi0wBusxzidG4GpvOgaHruciPYH/4K1CtOADVACDGuEIpAgNq5/aMMB X-Received: by 10.51.15.132 with SMTP id fo4mr31252936igd.36.1415694538830; Tue, 11 Nov 2014 00:28:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.19.11 with HTTP; Tue, 11 Nov 2014 00:28:38 -0800 (PST) In-Reply-To: <5460AC13.5060001@freebsd.org> References: <5460AC13.5060001@freebsd.org> From: "Timur I. Bakeyev" Date: Tue, 11 Nov 2014 09:28:38 +0100 Message-ID: Subject: Re: samba/NSSWITCH interaction in fbsd 10 vs fbsd 8 To: Julian Elischer Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: hackers@freebsd.org, FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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, 11 Nov 2014 08:29:06 -0000 Do you use net/samba36 port? Looks like you don't... @@ -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" >