summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
AgeCommit message (Collapse)AuthorFilesLines
2009-07-15torture/smb2: add missing new line to the new SMB2-DIR.FILE-INDEX testStefan Metzmacher1-1/+1
Without this the subunit formated output would be invalid and make test reports: "UNEXPECTED(error): samba4.smb2.dir (dc).FILE-INDEX" metze
2009-07-15SMB2-GETINFO: test SMB2_ALL_EASStefan Metzmacher1-2/+2
metze
2009-07-15SMB2-CONNECT: unlink the test file at startupStefan Metzmacher1-0/+2
This is needed to get reproducable results... metze
2009-07-15torture/smb2: fix crash bugs in the new SMB2-DIR testsStefan Metzmacher1-2/+2
metze
2009-07-14torture/smb2: Adding SMB2 Directory enumeration torture tests.Aravind3-26/+1265
* Most of the tests were ported from SMB torture tests. * Added one new tests which checks the behavior of the file_index field present in SMB2_FIND struct. * Added one new test to check the enumeration of directories containing lots of files (~2000 files) with name lengths varying from 1 to 200 char.
2009-07-06SMB2-NOTIFY: windows7 uses a different maximum buffer sizeStefan Metzmacher1-12/+21
metze
2009-06-09SMB2-COMPOUND: add some tests for invalid requestsStefan Metzmacher1-0/+201
TODO: check why the INVALID1 tests fails with --signing=required. metze
2009-06-09s4:torture: add SMB2-COMPOUND testStefan Metzmacher3-1/+245
metze
2009-06-03SMB2-CONNECT: make it possible to specific the max write size via ↵Stefan Metzmacher1-1/+1
--option=torture:smb2maxwrite=12345 metze
2009-05-20SMB2-LOCK: let the test pass against samba4Stefan Metzmacher1-1/+7
metze
2009-04-01s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman1-5/+5
2009-04-01s4:torture/smb2: Add torture tests for lease breaks, durable opens.Zach Loafman2-136/+988
2009-03-28s4:torture/smb2: Add torture tests for leases.Zach Loafman3-0/+298
2009-03-27s4:torture/smb2: fix compiler warnings and bugsStefan Metzmacher1-1/+3
metze
2009-03-27s4:torture/smb2: fix the buildStefan Metzmacher1-5/+5
We move prototypes of _PUBLIC_ functions into /dev/null, as we want public function to have handwritten prototypes. see proto_header_template in build/make/templates.mk... metze
2009-03-26Add durable open / oplock interaction test. Rather than give it a chance to ↵Zach Loafman1-3/+109
disconnect, Win7 will break a batch oplock immediately on contention.
2009-03-26Reorganize old persistent_handles test into durable_open.c, turn it into a ↵Zach Loafman3-9/+20
suite instead of a solo test (in anticipation of more tests).
2009-03-17s4 torture: Win7 has a slightly different allowed access maskZach Loafman1-1/+7
Still investigating.
2009-03-17s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGEZach Loafman1-10/+29
Also submitted a request to cifs-protocol for a real name for this thing. Use win7 target logic in smb2 lock test, SMB2-LOCK now passes against Win7.
2008-12-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-0/+1
2008-11-16s4:torture: fix the build with auto dependenciesStefan Metzmacher1-1/+1
metze
2008-11-02Remove use of global_loadparm for SMB2 client connections.Jelmer Vernooij2-3/+6
2008-11-02Fix the build.Jelmer Vernooij2-11/+15
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij2-2/+6
2008-10-24Remove unused include param/param.h.Jelmer Vernooij5-6/+0
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
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-07-28SMB2-CONNECT: remove reference to req->session before calling ↵Stefan Metzmacher1-1/+10
smb2_logoff_recv() on the invalid session metze (This used to be commit 93203e8e318dd10b9e7096e586187eb271d42134)
2008-06-04another SMB2-LOCK fix now that we know that the UNLOCK flag is onlyAndrew Tridgell1-5/+1
honoured on the first lock in a set (This used to be commit c014ffabc65c30a6b83c8f9f9f9a80bb79333f59)
2008-06-04fixed SMB2-LOCK test for new semantics (from docs)Andrew Tridgell1-5/+1
(This used to be commit d4d4d62939e325f8529b11fcd2d490e8f63293b0)
2008-05-31check for requested buffer size in getinfo callAndrew Tridgell1-0/+35
(This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
2008-05-31more useful output in scanAndrew Tridgell1-10/+7
(This used to be commit 70569a78cf3443ce5c0b0a28dcd17a3031d8aa55)
2008-05-30implemented client side SMB2 signingAndrew Tridgell3-6/+11
This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-30don't emulate broken SMB2 locking behaviour from windowsAndrew Tridgell1-4/+66
(This used to be commit c50e7a15f9a7f2c5821b5ee468f9ade6eaa0ed55)
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-28check that we can't change a file to a directoryAndrew Tridgell1-0/+4
(This used to be commit e013ada415ebb25e925f715791757330ba003b43)
2008-05-28added testing of some strange read semantics on windowsAndrew Tridgell1-2/+59
(This used to be commit 46a0b65742bc0e4277da53df9df823abd4a0d150)
2008-05-28add testing of creating a file with an initial ACL on SMB2Andrew Tridgell3-31/+95
(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-28expanded the SMB2-READ test, including the windows position bugAndrew Tridgell1-4/+51
(This used to be commit 43e7b13027cde2696d6e137a785456861c49071a)
2008-05-28add exceptions for some of the strange windows SMB2 locking behaviourAndrew Tridgell1-2/+10
(This used to be commit 429bbecebe50ce3d8d494eece35b2387556d5893)
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)