X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-yw0-f177.google.com (mail-yw0-f177.google.com [209.85.161.177]) by lists.alpinelinux.org (Postfix) with ESMTP id D3F815C43A1 for ; Fri, 28 Oct 2016 22:25:50 +0000 (GMT) Received: by mail-yw0-f177.google.com with SMTP id p22so91245708ywe.0 for ; Fri, 28 Oct 2016 15:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=q/XHfe8DcQdoFINxdWTkz4+qSAH4WfIc91gE8GrkYCI=; b=MipJmpV4W1i78xvm7Tn3iUxuxyaSzyVAuLUgyTQwqx6EN8m7n8TfF9eIocjuyghC+v AuKsUdCvvkQBho26dWHTXF35aS1BkeiUYPj6bASOlusO74gq6RZBF0LWUd446HKQKURC oOGt1HINad3I2L26OAdHBeHze5jF015uQ4Nw7nU3EePvO30vvn1PiGMrtrjG0xpekV/7 HrtPYRdyeBpogLHvtg0lETkE9fivS3ubsXJhPxEfcRztNVQqaIMKe+kcrf2wUCh0GIWN oQmz6rfUBX5Anuu+faqfa69JzWMjAWYJhcLFAHsrzU5XJwFcrMqUGBQDtI+pRksCtiII ii6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=q/XHfe8DcQdoFINxdWTkz4+qSAH4WfIc91gE8GrkYCI=; b=Vexk2as+aH1ZiCJp555Hhr+Ht9G8saLy31ib9BQutji3O2XPU4Bs8w+zfvLVJxOkoA 2sWJEs5D92aqC5L/HX/AcNxhweFgcFfTUiJnDLZR4L+bw5/pEgpG4v/z3d2Mjc0C236N 07AbthNykSofVApQ7ySE8pH6qIFe8rKQtVJrZYiRRXwatgwLzjKmOy4rsX11rYk4DxFN dVOMg+s+aI8yOPUdmzdfAXh2lBnL4RWx1egqQfpj3kZmF6UI0xWZDLHxFjk8qMpfWXhw vpNRnjBa0w2su7Zf74chyTobiGZlN4fqUfo4MdO1wpwazvxcDkC98S1XQ7/8a1RJ1ODk HCtA== X-Gm-Message-State: ABUngvdGBdeyHqYkqWQJLTU6k9ECxID3uZMF+x8pOyeeLIwoVUQ7TtlsqxF+8UrbK81O51CKyE2XitO+BLNH5g== X-Received: by 10.13.250.3 with SMTP id k3mr16044124ywf.226.1477693550393; Fri, 28 Oct 2016 15:25:50 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 From: Josiah Worcester Date: Fri, 28 Oct 2016 22:25:39 +0000 Message-ID: Subject: [alpine-devel] libnss-winbind ABI disagrees with glibc ABI for NSS modules To: alpine-devel@lists.alpinelinux.org, ncopa@alpinelinux.org Content-Type: multipart/alternative; boundary=94eb2c07f76c28864e053ff45721 --94eb2c07f76c28864e053ff45721 Content-Type: text/plain; charset=UTF-8 Hey, I've been working on writing an nscd for musl systems ( https://github.com/pikhq/musl-nscd ). 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. 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? Thanks, Josiah --94eb2c07f76c28864e053ff45721 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey,
I've been working on writing an nscd for musl= systems (=C2=A0https://gith= ub.com/pikhq/musl-nscd ). This nscd assumes the glibc ABI for NSS modul= es 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=C2=A0https://git.samba.org/?p= =3Dsamba.git;a=3Dblob;f=3Dnsswitch/winbind_nss.h;h=3D05e07ad5d3137ffaecec96= 56298222a81451ce59;hb=3DHEAD=C2=A0), which does not quite match.
<= div>I'd like to continue supporting the glibc ABI for NSS modules, to p= otentially let proprietary NSS modules continue to function. To do this, Sa= mba will need to have an appropriate nss.h around.

I suppose if musl-nscd were in alpine upstream, then just depending on a d= ev 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=C2=A0), and make sure Samba uses i= t. Think this could get done?
Thanks,
Josiah
--94eb2c07f76c28864e053ff45721-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---