Looks like this has been fixed as a side effect of https://git.samba.org/?p=samba.git;a=commit;h=b886a9443d49f6e27fa3863d87c9e24d12e62874
So I'll abandon my patch and use the one from upstream.
Artful is not affected - 4.6.7 has the patch already. Tested it successfully for Trusty, Xenial and Zesty. Debdiffs are being prepared.
Looks like this has been fixed as a side effect of https:/ /git.samba. org/?p= samba.git; a=commit; h=b886a9443d49f 6e27fa3863d87c9 e24d12e62874
So I'll abandon my patch and use the one from upstream.
Artful is not affected - 4.6.7 has the patch already.
Tested it successfully for Trusty, Xenial and Zesty. Debdiffs are being prepared.