s4:torture/smb2: add smb2.lease.v2_epoch[2|3] tests
authorStefan Metzmacher <metze@samba.org>
Wed, 12 Nov 2014 08:53:45 +0000 (09:53 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 27 Nov 2014 15:45:05 +0000 (16:45 +0100)
commitc18c84ca6ca04815e8ffedb3d6f8abadad06500b
tree13cacf10a3a54042988c3b0e6219a3eaff355500
parent45c98b8069f6b94115616d7fddef515c76d7767e
s4:torture/smb2: add smb2.lease.v2_epoch[2|3] tests

They demonstrate that the lease version (v1 or v2) is selected
by the first open. All following opens using the other version
still get the lease version of the first open.

This implies that the server has to remember the lease version
more globaly.

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