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.
I just did a test build with this and pam_winbind worked for the super simple login test case: pastebin. ubuntu. com/24536839/
http://
diff -Nru samba-4. 5.8+dfsg/ debian/ patches/ fix-1584485. patch samba-4. 5.8+dfsg/ debian/ patches/ fix-1584485. patch 5.8+dfsg/ debian/ patches/ fix-1584485. patch 2017-02-09 00:28:33.000000000 +0000 5.8+dfsg/ debian/ patches/ fix-1584485. patch 2017-05-08 13:08:52.000000000 +0000
bld.SAMBA_ LIBRARY( 'pamwinbind' ,
source= 'pam_winbind. c', d-static' ,
cflags= '-DLOCALEDIR= \"%s/locale\ "' % bld.env.DATADIR,
realname= 'pam_winbind. so', path='$ {PAMMODULESDIR} '
--- samba-4.
+++ samba-4.
@@ -83,7 +83,7 @@
- deps='talloc wbclient winbind-client tiniparser pam samba_intl',
-+ deps='pamwinbin
++ deps='wbclient pamwinbind-static',
- install_
There are plenty of other code paths that have to be exercized. Maybe other libraries are missing.