mirror of
https://github.com/samba-team/samba.git
synced 2025-02-07 01:58:28 +03:00
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.
Design notes for client library restructure: 1 - no references to cli_state should exist in libcli/raw. 2 - all interfaces to functions in this directory should use cli_session or cli_tree as the primary context structure