Hello, I've modified the building scripts for compiling libnss-winbind and libpam-winbind statically against the samba-libs as was suggested by @infinity.
This fix seems to resolve the issue reported on this bug, and the reproducer is not longer experienced. With the patch applied: root@samba:~# ldd /lib/x86_64-linux-gnu/security/pam_winbind.so linux-vdso.so.1 => (0x00007ffe0bdaf000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb246748000) libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fb246539000) libtalloc.so.2 => /usr/lib/x86_64-linux-gnu/libtalloc.so.2 (0x00007fb24632c000) libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007fb24611e000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb245d59000) /lib64/ld-linux-x86-64.so.2 (0x000055695ab59000) libaudit.so.1 => /lib/x86_64-linux-gnu/libaudit.so.1 (0x00007fb245b34000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb245930000) root@samba:~# ldd /lib/x86_64-linux-gnu/libnss_winbind.so.2 linux-vdso.so.1 => (0x00007fffe9195000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd3e84f7000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd3e8132000) /lib64/ld-linux-x86-64.so.2 (0x0000563f59046000) ** Patch added: "Trusty Patch" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1584485/+attachment/4762628/+files/fix-1584485-trusty.debdiff ** Changed in: samba (Ubuntu Trusty) Status: New => In Progress ** Changed in: samba (Ubuntu Trusty) Importance: Undecided => High ** Changed in: samba (Ubuntu Trusty) Assignee: (unassigned) => Jorge Niedbalski (niedbalski) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1584485 Title: Upgrading samba to latest security fixes together with winbind in nsswitch.conf can harm entire OS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1584485/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs