summaryrefslogtreecommitdiffstats
path: root/source4/torture/smb2/create.c
Commit message (Collapse)AuthorAgeFilesLines
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-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.
* s4:torture - remove unused variablesMatthias Dieter Wallnöfer2010-04-061-1/+1
|
* s4 torture: Add a new torture:hide_on_access_denied parameterTim Prouty2009-12-071-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.
* s4 torture: win 7 doesn't like the sequential_only flag for directoriesTim Prouty2009-12-071-4/+2
| | | | Remove it for now
* s4 torture: Port RAW-ACLS tests to SMB2Zack Kirsch2009-12-071-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
* s4 torture: Move target macros to a common header instead of redefining them ↵Tim Prouty2009-12-011-2/+0
| | | | in multiple files
* smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privilegesAndrew Tridgell2009-10-181-0/+2
|
* s4/torture: Ported SMBv1 RAW-OPEN tests to SMB2-CREATEAravind Srinivasan2009-10-071-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 "/".
* s4/torture: convert all printf to torture_commentsAravind Srinivasan2009-10-071-20/+32
|
* s4 torture: Win7 has a slightly different allowed access maskZach Loafman2009-03-171-1/+7
| | | | Still investigating.
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-1/+0
|
* check error code for zero desired_access in SMB2 createAndrew Tridgell2008-09-241-0/+7
|
* SMB2-CREATE: add a special test for FILE_ATTRIBUTE_ENCRYPTEDStefan Metzmacher2008-08-141-2/+21
| | | | | | | Some standalone server (and samba4) doesn't support this. metze (This used to be commit 6d8fd4c0089d7e632ec91027a77321aca8c6acc7)
* SMB2-CREATE: be more strict in checking file attributesStefan Metzmacher2008-08-141-12/+20
| | | | | metze (This used to be commit ba9d0f6b3c60346df757e7c4c3f5704c0bf26d11)
* SMB2-CREATE: be more strict in error checkingStefan Metzmacher2008-08-141-1/+11
| | | | | metze (This used to be commit d7d4df78c1de19d0cd7a63daaa2fa0863a243a12)
* expanded the SMB2-CREATE and RAW-OPEN tests to explore more of how theAndrew Tridgell2008-08-141-8/+32
| | | | | create options fields are supposed to work (This used to be commit 0576875eccaa21ad529c9db41db91781ad400d0f)
* check maximal_access here tooAndrew Tridgell2008-05-291-0/+1
| | | | (This used to be commit 8159b1598e21daee730e185d025694e27df18d1b)
* test the maximal access returnAndrew Tridgell2008-05-291-1/+16
| | | | (This used to be commit 23ffec5d140463c8307fd7e444ae25781ea3d792)
* check the set of file attributes which are ignoredAndrew Tridgell2008-05-281-2/+6
| | | | (This used to be commit c818f56d8ea3ddc6f4cc61e9d5ed6fd195280a5d)
* add testing of creating a file with an initial ACL on SMB2Andrew Tridgell2008-05-281-29/+92
| | | | (This used to be commit e957e86a03baa0c0daf3bfe1aaeceb7a08e3c24e)
* test unknown tags and bad tag lengthsAndrew Tridgell2008-05-281-0/+19
| | | | (This used to be commit 72902c1d0f85048adf3088b4f90bbc34858b8658)
* added testing of SMB2 create blobsAndrew Tridgell2008-05-281-2/+100
| | | | (This used to be commit a48cbec6b90c6ba9db870fc33eed06b36612d8ff)
* fixed uninitialised variableAndrew Tridgell2008-05-271-2/+2
| | | | (This used to be commit 8d2e20fcb984c122fbf98cfe712b3145941d881d)
* fixed file_attributes testAndrew Tridgell2008-05-271-1/+1
| | | | (This used to be commit 791ce0fe39a9d9e0d40b9850ff6f0cc9077fe2f1)
* another gentest derived testAndrew Tridgell2008-05-271-0/+21
| | | | (This used to be commit bb546ab3779b235c5276ef9a714d1ca57b6815c9)
* SEC_STD_SYNCHRONIZE is only invalid on SMB2Andrew Tridgell2008-05-271-2/+6
| | | | (This used to be commit 067f1271adaa13d537bbc92b19fe8d633cbaaf50)
* expanded the SMB2 create testingAndrew Tridgell2008-05-271-0/+74
| | | | (This used to be commit 71915128498674d9937780b9278fd2ac1eb06ba8)
* the start of a SMB2 create test suiteAndrew Tridgell2008-05-271-0/+102
(This used to be commit 16787e99f3de7255e315651c095486f90f65f2ca)