summaryrefslogtreecommitdiff
path: root/source4/torture/smbtorture.h
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-11-13 15:13:19 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-11-17 17:06:26 -0800
commitc14b0cea488f78fc2fb88646d0cc674c6154c008 (patch)
tree810a9fddd027eb5d8994ed28cc7cb9b31c565892 /source4/torture/smbtorture.h
parent7407b526e3214287a8f42073044e2ebab058198a (diff)
downloadsamba-c14b0cea488f78fc2fb88646d0cc674c6154c008.tar.gz
samba-c14b0cea488f78fc2fb88646d0cc674c6154c008.tar.bz2
samba-c14b0cea488f78fc2fb88646d0cc674c6154c008.zip
torture/smb2: make SMB2 BRL tests pass against W2K8R2
The BRL tests previously based their results off several bugs in the W2K8 byte range lock code. I've fixed up the tests to pass against Win7 which has fixed these bugs, and assume that the Win7 behavior is the default. I have inverted the test behavior for >63-bit lock requests. The tests previously expected NT_STATUS_OK as their default in this case. I've changed that default to expect STATUS_INVALID_LOCK_RANGE. This may requires some changing of make test to compensate. I've also removed a few test scenarios from VALID-REQUEST in preparation of replacing them with separate tests ported from RAW-LOCK.
Diffstat (limited to 'source4/torture/smbtorture.h')
-rw-r--r--source4/torture/smbtorture.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/torture/smbtorture.h b/source4/torture/smbtorture.h
index ff371e50be..e2c31e62a5 100644
--- a/source4/torture/smbtorture.h
+++ b/source4/torture/smbtorture.h
@@ -53,6 +53,14 @@ bool torture_register_suite(struct torture_suite *suite);
* Because we use parametric options we do not need to define these parameters
* anywhere, we just define the meaning of each here.*/
+/* torture:invalid_lock_range_support
+ *
+ * This parameter specifies whether the server will return
+ * STATUS_INVALID_LOCK_RANGE in response to a LockingAndX request where the
+ * combined offset and range overflow the 63-bit boundary. On Windows servers
+ * before Win7, this request would return STATUS_OK, but the actual lock
+ * behavior was undefined. */
+
/* torture:sacl_support
*
* This parameter specifies whether the server supports the setting and