Comment 8 for bug 1677329

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I just did a test build with this and pam_winbind worked for the super simple login test case:
http://pastebin.ubuntu.com/24536839/

diff -Nru samba-4.5.8+dfsg/debian/patches/fix-1584485.patch samba-4.5.8+dfsg/debian/patches/fix-1584485.patch
--- samba-4.5.8+dfsg/debian/patches/fix-1584485.patch 2017-02-09 00:28:33.000000000 +0000
+++ samba-4.5.8+dfsg/debian/patches/fix-1584485.patch 2017-05-08 13:08:52.000000000 +0000
@@ -83,7 +83,7 @@
        bld.SAMBA_LIBRARY('pamwinbind',
                source='pam_winbind.c',
 - deps='talloc wbclient winbind-client tiniparser pam samba_intl',
-+ deps='pamwinbind-static',
++ deps='wbclient pamwinbind-static',
                cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
                realname='pam_winbind.so',
 - install_path='${PAMMODULESDIR}'

There are plenty of other code paths that have to be exercized. Maybe other libraries are missing.