samba36: backport an upstream fix for an information leak (CVE-2017-15275)