summaryrefslogtreecommitdiff
path: root/source4/torture/smbtorture.h
diff options
context:
space:
mode:
authorAravind Srinivasan <aravind.srinivasan@isilon.com>2009-11-17 15:30:11 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-11-17 17:06:26 -0800
commit15d93a5d8e21893e1cca5c989dbf97010aae1622 (patch)
treecb2b8f98f424c09b1b92da1f540ca4e344741dbc /source4/torture/smbtorture.h
parent74471387e03c9a0b12198275826ee56ee68994ab (diff)
downloadsamba-15d93a5d8e21893e1cca5c989dbf97010aae1622.tar.gz
s4/torture: Port SMBv1 Change Notify tests to SMBv2
* Ported all tests from raw/notify.c to smb2/notify.c * Parameterized the max_buffer_size so it can be set on a per-target basis. * Fixed CHECK macros to use torture_result * Created a SMB2-NOTIFY test suite
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 e2c31e62a5b..862adc308c6 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:cn_max_buffer_size
+ *
+ * This parameter specifies the maximum buffer size given in a change notify
+ * request. If an overly large buffer is requested by a client, the server
+ * will return a STATUS_INVALID_PARAMETER. The max buffer size on Windows
+ * server pre-Win7 was 0x00080000. In Win7 this was reduced to 0x00010000.
+ */
+
/* torture:invalid_lock_range_support
*
* This parameter specifies whether the server will return