s4:torture/smb2: replace torture:cn_max_buffer_size option with the negotiated max...
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Jan 2019 15:22:25 +0000 (16:22 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 28 Mar 2019 23:09:37 +0000 (23:09 +0000)
commit12fb3ec1dd886c15977ae9eb0b2b25f2017db10d
tree2dbd0e7c6c449bddd68a7d5b649c904b0667fa71
parentd6fce7c0cb126e4ac79bceda77a50c4d65c093fd
s4:torture/smb2: replace torture:cn_max_buffer_size option with the negotiated max trans size

Both:

 smbtorture //w2012r2-188/torture -Ua%b smb2.notify.valid-req --smb-ports=139

and:

 smbtorture //w2012r2-188/torture -Ua%b smb2.notify.valid-req --smb-ports=445

work against Windows 2008R2, 2012R2 and 2016 now and it reflects what
we have implemented in Samba.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13864

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/notify.c
source4/torture/smbtorture.c
source4/torture/smbtorture.h