s4:torture:smb2: fix the durable_open test to succeed against w7 and w2k8r2
authorMichael Adam <obnox@samba.org>
Sat, 29 Oct 2011 09:56:48 +0000 (11:56 +0200)
committerMichael Adam <obnox@samba.org>
Sun, 30 Oct 2011 12:08:14 +0000 (13:08 +0100)
commit5975e8a3f46f3d6f99d997d36f874141f80b9c33
tree551e117e687b8be0cce545a2cbc69586261811c5
parentf30f71c14a0b89dea296910ac9b92d3ae4016613
s4:torture:smb2: fix the durable_open test to succeed against w7 and w2k8r2

When a first client that has a durable open with share read/write/delete
and a read-write-handle lease on the file disconnects, a second
client will succeed in opening the file and the new client will be
given a RWH-lease if requested, not only a RH-lease, as was previously
checked in the test.

This might have been a bug in win7 build 7000, which is what the
comments in the test give as reference.
source4/torture/smb2/durable_open.c