s4:libcli: Modify S4 client library to check for proper CN alignment
authorSteven Danneman <steven.danneman@isilon.com>
Mon, 28 Jun 2010 23:06:33 +0000 (16:06 -0700)
committerSteven Danneman <steven.danneman@isilon.com>
Tue, 6 Jul 2010 20:28:02 +0000 (13:28 -0700)
commit85504ae6ff72204894ea7a856f0f36b44ad77fe2
tree57b87f35b681959073f432d4b402d01d12a48111
parent00056e73c1cb54f5d6c10e63b70afc2c84e5883e
s4:libcli: Modify S4 client library to check for proper CN alignment

MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in
change notify replies must be aligned to 4-byte boundaries.

This updates s4 client to check for this restriction and also adds a
torture test which should tickle a server into giving unaligned
structures if it doesn't follow the spec.
source4/libcli/raw/rawnotify.c
source4/torture/raw/notify.c