X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by lists.alpinelinux.org (Postfix) with ESMTP id AA3615C4A28 for ; Sat, 5 Nov 2016 14:26:36 +0000 (GMT) Received: by mail-lf0-f66.google.com with SMTP id p100so6240982lfg.2 for ; Sat, 05 Nov 2016 07:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4w/nE/I81ao+aA6Vyi4xrW/ROGip2m+R8gTssA5sX0w=; b=jKMf2V25YnvqvbTwGasvN8iCxN5RDkP4teJCtIWtcE8DROmVncJZeZbnfWMd6M3Q9T VmhG9uJ9gCIh/OH0C/tLWE6DJ0Znx2Iz5I0execiIyHwcRnL7C6ooWKFh6CkLiNjcKLl SnwgaR620rNXGsKPkVWMl9Vr6Lj5A1OR9yZ3MJmDz+ndQHyl97EZvHMFtowsVORgmODy wVR9w8NOUtTT2Fw28UeztDYIy/yPjGYnNREsh6Qod7r3Usvmr3YKP+IMqYq5hxvVDGjC SJC7OG4UBUfT7h0W+HcJSu83kzoRsHrwnoiVW5hA7rZkCqibvfzrhqKl3vVLfoz+Uxp1 Woug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=4w/nE/I81ao+aA6Vyi4xrW/ROGip2m+R8gTssA5sX0w=; b=lDmrfLjVlDa1WvGUjEr0KtyYR9oEG3iq4+FoSME8rKLkp63Q6to7jX2VsGVgizwCjQ GcOapekSDuvHtlk8lZoH92W7FnHnGCjarVwDaMlsUmgpQ79A8qM9OrwFVouyfMq1PhLf MAmA/3kx6U1Pl3hKC8PcMmz9BuhhSXNRy7GLzthbOc+kG5InMTy49Ygb5/srsG+a/QMu JmJpDlP0aA1tOfPqrLmX5IDhtRycWeh4MjxyinyBc9ZfrIKXctoctJd3mr4HLKCtTLh/ ele0+T8iAhGW4565jhG/q/hsCzT1SfrOf42I0FFE+nfD37P+DrRC9F1VWJO2Vd7uYcVf c2SQ== X-Gm-Message-State: ABUngvcz5pQ21P3uT29p6ynlrf32acPZ/BfDETkQp7WbHWAUuV6BAVgTfOzI+TClXINDDQ== X-Received: by 10.25.99.27 with SMTP id x27mr10861026lfb.128.1478355995204; Sat, 05 Nov 2016 07:26:35 -0700 (PDT) Received: from vostro ([83.145.235.201]) by smtp.gmail.com with ESMTPSA id s6sm1001069lfe.11.2016.11.05.07.26.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 Nov 2016 07:26:34 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Sat, 5 Nov 2016 16:26:29 +0200 From: Timo Teras To: Josiah Worcester Cc: alpine-devel@lists.alpinelinux.org, ncopa@alpinelinux.org Subject: Re: [alpine-devel] libnss-winbind ABI disagrees with glibc ABI for NSS modules Message-ID: <20161105162629.1dd58e01@vostro> In-Reply-To: References: X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, On Fri, 28 Oct 2016 22:25:39 +0000 Josiah Worcester wrote: > I've been working on writing an nscd for musl systems ( > https://github.com/pikhq/musl-nscd ). Cool! > This nscd assumes the glibc ABI for NSS modules is in place. Unfortunately, if nss.h is not present > at compile time for Samba, then it uses its own version of the NSS > ABI (in > https://git.samba.org/?p=samba.git;a=blob;f=nsswitch/winbind_nss.h;h=05e07ad5d3137ffaecec9656298222a81451ce59;hb=HEAD > ), which does not quite match. What does not match? The sole enum there? Is something else needed? > I'd like to continue supporting the glibc ABI for NSS modules, to > potentially let proprietary NSS modules continue to function. To do > this, Samba will need to have an appropriate nss.h around. > > I suppose if musl-nscd were in alpine upstream, then just depending > on a dev package would be appropriate. For now, I feel like the > appropriate thing would be to copy nss.h into the apkbuild (e.g. from > https://github.com/pikhq/musl-nscd/blob/master/include/nss.h ), and > make sure Samba uses it. Think this could get done? Could we just patch the samba nss.h until musl-nscd-dev becomes available? Or does it trigger additional functionality to be built if nss.h exists? What modules of samba use this file? Is it just some nss plugin which has been unused so far? If yes, I'm happy to just apply a patch. But if it affects some other potentially in-use things, we need to consider if it breaks things. Thanks, Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---