The short name length defined in MS-FSCC is only one byte, the next byte is undefined. The Samba SMB2 client code was reading both bytes as a short name length instead of just one. Discovered at the SNIA SDC plugfest - some OEM SMB2 servers return 0xFF in the undefined field. Patch for 4.1.0 to follow.
Created attachment 9221 [details] git-am fix from master for 4.1.0 git cherry-pick -x 1c41feb7893ae4a4f42c035f3c83f8b2950b7816
Re-assigned to Karolin for inclusion into 4.1.0. Jeremy.
Pushed to autobuild-v4-1-test.
Pushed to v4-1-test. Closing out bug report. Thanks!