The Samba-Bugzilla – Bug 7662
Change notify replies must be aligned on 4-byte boundary for Win7.
Last modified: 2010-11-02 00:39:42 UTC
From git change 00056e73c1cb54f5d6c10e63b70afc2c84e5883e in master.
Author: Chere Zhou <firstname.lastname@example.org>
Date: Mon Jul 5 17:18:35 2010 -0700
s3:smbd: Align change notify replies on 4-byte boundary
MS-CIFS section 18.104.22.168.2 states this is mandatory. WinXP clients
don't seem to care, but a Win7 client will send an immediate Close()
to the directory handle when receiving an incorrectly aligned
change notify response.
smbtorture4 tests have been added to test this in master.
Created attachment 5945 [details]
git am patch for 3.5.x.
This patch went into master Mon Jul 5 17:18:35 2010 -0700.
Volker, please review and pass to Karolin if you think this is correct.
Pushed to v3-5-test. Will be included in 3.5.6.
Closing out bug report.