s3:smbd: Align change notify replies on 4-byte boundary
commit2a284c42cd06a740cb1b15af0c3d77f667b7dad1
authorChere Zhou <chere.zhou@isilon.com>
Tue, 6 Jul 2010 00:18:35 +0000 (5 17:18 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Sep 2010 19:29:03 +0000 (27 21:29 +0200)
tree4d1ac1242451014330abc80512030e9ed771542a
parent01ac9d54f0907c1b16402857e8672da8ebb7b294
s3:smbd: Align change notify replies on 4-byte boundary

MS-CIFS section 2.2.7.4.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.

Fix bug #7662 (Change notify replies must be aligned on 4-byte boundary for
Win7.)
(cherry picked from commit 2ee2ea9fa5b839a4395895872f1ed149226dd06f)
source3/smbd/notify.c