Please backport to Samba 3.5.0 this patch:
The description of the issue, the fix and a packet dump is here:
Basically, this patch improves compatibility for Windows in case of a malformed packet. It should be relatively safe since I expect only a really small number of clients to send such broken packets.
I'm fine with it. Jeremy, if you ack it it can go to 3.5.
Created attachment 5186 [details]
git-am format patch for 3.5.0.
Ack. This is a simple fix to get us closer to Windows behavior. I'll look into adding a torture test to ensure we don't regress.
Re-assigning to Karolin for inclusion in 3.5.0.
Pushed to v3-5-test. Will be included in Samba 3.5.0rc2.
Closing out bug report.