s4-torture: Add handlers to ignore incoming oplock/lease break requests
authorSachin Prabhu <sprabhu@redhat.com>
Thu, 13 Sep 2018 11:39:03 +0000 (12:39 +0100)
committerSachin Prabhu <sprabhu@redhat.com>
Thu, 13 Sep 2018 13:39:17 +0000 (14:39 +0100)
commit9abab24bc4b7cdb2fa4e07295b56e1ad23ae552a
tree35aafc6c183a9c76eb5c21faf42b40b2aa86b5ab
parent5a50f8971acc30b84dbdfc9108133448f1658028
s4-torture: Add handlers to ignore incoming oplock/lease break requests

For use in multichannel oplock break tests. These handers ignore
incoming oplock and lease break requests so that we can test the
oplock/lease break retries on the server.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
source4/torture/smb2/lease_break_handler.c
source4/torture/smb2/oplock_break_handler.c
source4/torture/smb2/oplock_break_handler.h