s4/torture: add some SMB2 crediting tests
authorRalph Boehme <slow@samba.org>
Mon, 27 Feb 2017 06:12:09 +0000 (07:12 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 3 Mar 2017 20:55:27 +0000 (21:55 +0100)
commitb668c300bf5c5ab1b0402e80f6f46d81daac2a34
tree8609d072e56afcf079944e4b294be7e0c151288c
parent799b7e75c3b4b38d58ef56918135176c708103ff
s4/torture: add some SMB2 crediting tests

These tests verify that a server grants at least 8192 credits in a
successfull session setup and in a single SMB2 request. Both tests pass
against Windows 2016 Server but currently fail against Samba.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail
source4/torture/smb2/credits.c [new file with mode: 0644]
source4/torture/smb2/smb2.c
source4/torture/smb2/wscript_build