summaryrefslogtreecommitdiff
path: root/source4/torture/smbtorture.h
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-10-02 17:02:20 -0700
committerSteven Danneman <steven.danneman@isilon.com>2009-10-06 19:43:15 -0700
commit26b77348414fc99ec0a07cb5376942d722ddf643 (patch)
treee112f7ee9d7bf203abd506cbc5b1b07f32309117 /source4/torture/smbtorture.h
parente9c3318e52ca41a3f40a9fe8803f882e4142a2db (diff)
downloadsamba-26b77348414fc99ec0a07cb5376942d722ddf643.tar.gz
samba-26b77348414fc99ec0a07cb5376942d722ddf643.tar.bz2
samba-26b77348414fc99ec0a07cb5376942d722ddf643.zip
s4/torture: Add server target of OneFS
I've added a "--target=onefs" which lists expected deviation in the OneFS SMB server implementation compared to a Windows machine. I've added this in a generic way using a list of module specific parameters. This list currently only contains the absence of SACL support but will be added to as additional server differences are defined. I'd liked to use this abstraction for defining the differences between a WinXP and Win7 server as well.
Diffstat (limited to 'source4/torture/smbtorture.h')
-rw-r--r--source4/torture/smbtorture.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/source4/torture/smbtorture.h b/source4/torture/smbtorture.h
index c1363fd4c1..ff371e50be 100644
--- a/source4/torture/smbtorture.h
+++ b/source4/torture/smbtorture.h
@@ -37,4 +37,27 @@ struct torture_test;
int torture_init(void);
bool torture_register_suite(struct torture_suite *suite);
+/* Server Functionality Support */
+
+/* Not all SMB server implementations support every aspect of the protocol.
+ * To allow smbtorture to provide useful data when run against these servers we
+ * define support parameters here, that will cause some tests to be skipped or
+ * the correctness checking of some tests to be conditional.
+ *
+ * The idea is that different server implementations can be specified on the
+ * command line such as "--target=win7" which will define the list of server
+ * parameters that are not supported. This is mostly a black list of
+ * unsupported features with the default expectation being that all features are
+ * supported.
+ *
+ * Because we use parametric options we do not need to define these parameters
+ * anywhere, we just define the meaning of each here.*/
+
+/* torture:sacl_support
+ *
+ * This parameter specifies whether the server supports the setting and
+ * retrieval of System Access Control Lists. This includes whether the server
+ * supports the use of the SEC_FLAG_SYSTEM_SECURITY bit in the open access
+ * mask.*/
+
#endif /* __SMBTORTURE_H__ */