summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/create.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-13torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce1-2/+2
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-12/+12
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-09-25torture: fixed a valgrind error in SMB2-CREATEAndrew Tridgell1-0/+6
the lock structure had uninitialised elements, so we sent a random length. This also adds a 1 byte write, so there is real data that is being truncated with the 2nd open
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-9/+9
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-04-06s4:torture - remove unused variablesMatthias Dieter Wallnöfer1-1/+1
2009-12-07s4 torture: Add a new torture:hide_on_access_denied parameterTim Prouty1-4/+20
It appears some newer versions of windows return NT_STATUS_OBJECT_NAME_NOT_FOUND on a createfile when access is denied rather than NT_STATUS_ACCESS_DENIED. I'm not sure how this translates to directory enumeration yet, but for now make this a parameter that can be checked in the various torture tests. This also gets RAW-ACLS and SMB2-CREATE passing against win7.
2009-12-07s4 torture: win 7 doesn't like the sequential_only flag for directoriesTim Prouty1-4/+2
Remove it for now
2009-12-07s4 torture: Port RAW-ACLS tests to SMB2Zack Kirsch1-141/+466
- The smblsa calls had to be commented out for now and should be fixed later, but they aren't crucial to the test. - The first two tests from RAW-ACLS were already ported to torture_smb2_setinfo() and test_create_acl(). Modifications were made similar to the RAW-ACLS changes. - test_sd_get_set() was ported, but does not pass against XP or Vista; it is not added to the SMB2-ACLS test suite. - printf -> torture_comment / torture_warning / torture_result
2009-12-01s4 torture: Move target macros to a common header instead of redefining them ↵Tim Prouty1-2/+0
in multiple files
2009-10-18smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privilegesAndrew Tridgell1-0/+2
2009-10-07s4/torture: Ported SMBv1 RAW-OPEN tests to SMB2-CREATEAravind Srinivasan1-1/+573
Four tests were ported from raw/open.c One new tests added LEADING-SLASH, which tests that a server provides the proper error when a relative path is given to a CREATE PDU with a leading "/".
2009-10-07s4/torture: convert all printf to torture_commentsAravind Srinivasan1-20/+32
2009-03-17s4 torture: Win7 has a slightly different allowed access maskZach Loafman1-1/+7
Still investigating.
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-09-24check error code for zero desired_access in SMB2 createAndrew Tridgell1-0/+7
2008-08-14SMB2-CREATE: add a special test for FILE_ATTRIBUTE_ENCRYPTEDStefan Metzmacher1-2/+21
Some standalone server (and samba4) doesn't support this. metze (This used to be commit 6d8fd4c0089d7e632ec91027a77321aca8c6acc7)
2008-08-14SMB2-CREATE: be more strict in checking file attributesStefan Metzmacher1-12/+20
metze (This used to be commit ba9d0f6b3c60346df757e7c4c3f5704c0bf26d11)
2008-08-14SMB2-CREATE: be more strict in error checkingStefan Metzmacher1-1/+11
metze (This used to be commit d7d4df78c1de19d0cd7a63daaa2fa0863a243a12)
2008-08-14expanded the SMB2-CREATE and RAW-OPEN tests to explore more of how theAndrew Tridgell1-8/+32
create options fields are supposed to work (This used to be commit 0576875eccaa21ad529c9db41db91781ad400d0f)
2008-05-29check maximal_access here tooAndrew Tridgell1-0/+1
(This used to be commit 8159b1598e21daee730e185d025694e27df18d1b)
2008-05-29test the maximal access returnAndrew Tridgell1-1/+16
(This used to be commit 23ffec5d140463c8307fd7e444ae25781ea3d792)
2008-05-28check the set of file attributes which are ignoredAndrew Tridgell1-2/+6
(This used to be commit c818f56d8ea3ddc6f4cc61e9d5ed6fd195280a5d)
2008-05-28add testing of creating a file with an initial ACL on SMB2Andrew Tridgell1-29/+92
(This used to be commit e957e86a03baa0c0daf3bfe1aaeceb7a08e3c24e)
2008-05-28test unknown tags and bad tag lengthsAndrew Tridgell1-0/+19
(This used to be commit 72902c1d0f85048adf3088b4f90bbc34858b8658)
2008-05-28added testing of SMB2 create blobsAndrew Tridgell1-2/+100
(This used to be commit a48cbec6b90c6ba9db870fc33eed06b36612d8ff)
2008-05-27fixed uninitialised variableAndrew Tridgell1-2/+2
(This used to be commit 8d2e20fcb984c122fbf98cfe712b3145941d881d)
2008-05-27fixed file_attributes testAndrew Tridgell1-1/+1
(This used to be commit 791ce0fe39a9d9e0d40b9850ff6f0cc9077fe2f1)
2008-05-27another gentest derived testAndrew Tridgell1-0/+21
(This used to be commit bb546ab3779b235c5276ef9a714d1ca57b6815c9)
2008-05-27SEC_STD_SYNCHRONIZE is only invalid on SMB2Andrew Tridgell1-2/+6
(This used to be commit 067f1271adaa13d537bbc92b19fe8d633cbaaf50)
2008-05-27expanded the SMB2 create testingAndrew Tridgell1-0/+74
(This used to be commit 71915128498674d9937780b9278fd2ac1eb06ba8)
2008-05-27the start of a SMB2 create test suiteAndrew Tridgell1-0/+102
(This used to be commit 16787e99f3de7255e315651c095486f90f65f2ca)