Bug 7662 - Change notify replies must be aligned on 4-byte boundary for Win7.
Summary: Change notify replies must be aligned on 4-byte boundary for Win7.
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
Depends on:
Reported: 2010-09-03 18:48 UTC by Jeremy Allison
Modified: 2010-11-02 00:39 UTC (History)
1 user (show)

See Also:

git am patch for 3.5.x. (1.54 KB, patch)
2010-09-03 18:53 UTC, Jeremy Allison
vl: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2010-09-03 18:48:12 UTC
From git change 00056e73c1cb54f5d6c10e63b70afc2c84e5883e in master.

commit 00056e73c1cb54f5d6c10e63b70afc2c84e5883e
Author: Chere Zhou <chere.zhou@isilon.com>
Date:   Mon Jul 5 17:18:35 2010 -0700

    s3:smbd: Align change notify replies on 4-byte boundary

    MS-CIFS section 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.
Comment 1 Jeremy Allison 2010-09-03 18:53:59 UTC
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.


Comment 2 Karolin Seeger 2010-09-21 03:28:20 UTC
Pushed to v3-5-test. Will be included in 3.5.6.
Closing out bug report.