summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/connect.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-14Fix printf warning.Jeremy Allison1-1/+1
2011-10-13s4:torture/smb2: we only support 64KB reads/writes for nowStefan Metzmacher1-6/+6
We don't have multi-credit support yet. metze
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-07-15SMB2-CONNECT: unlink the test file at startupStefan Metzmacher1-0/+2
This is needed to get reproducable results... metze
2009-06-03SMB2-CONNECT: make it possible to specific the max write size via ↵Stefan Metzmacher1-1/+1
--option=torture:smb2maxwrite=12345 metze
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
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-05-27expanded the SMB2 create testingAndrew Tridgell1-3/+3
(This used to be commit 71915128498674d9937780b9278fd2ac1eb06ba8)
2008-02-13updated SMB2 create operation to match WSPP.Andrew Tridgell1-5/+5
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-1/+1
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21r26235: Avoid global_loadparm.Jelmer Vernooij1-4/+4
(This used to be commit e9039782204389cc827e76da319d5ccf6d33be46)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-12/+12
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-2/+2
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-2/+2
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-1/+1
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-6/+3
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r18808: added SMB2-MAXWRITE test and SMB2-DIR testsAndrew Tridgell1-3/+6
expanded size of dangerous level for write in SMB2-CONNECT test (This used to be commit 355c6e78a91f4e934479829e722f873ca7e66baf)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+0
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r16738: vista beta2 use FILE_CLOSED as error for an invalid file handleStefan Metzmacher1-1/+1
metze (This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
2007-10-10r16725: don't ignore errorsStefan Metzmacher1-3/+15
metze (This used to be commit 42282301961a13055869445eb9d00492bdbbb61b)
2007-10-10r15803: the SMB2 server gives NT_STATUS_NOT_FOUND instead of ↵Stefan Metzmacher1-0/+6
NT_STATUS_INVALID_HANDLE metze (This used to be commit aa98aad0975e59fc8cf56c624f728b33ab54e099)
2007-10-10r15759: samba4 currently only supports read sizes up to with UINT16_MAXStefan Metzmacher1-0/+2
metze (This used to be commit 05ced31cb91eb1f170cb87d6964cf65daba43493)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher1-9/+9
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+2
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-1/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r13346: use private proto header files for the torture testsStefan Metzmacher1-0/+2
metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-3/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12114: - smb2_keepalive() acts on the smb2_transportStefan Metzmacher1-3/+3
- smb2_logoff() acts on the smb2_session metze (This used to be commit ae1ca2bb4affefff1026c03f0765faf28c2b316b)
2007-10-10r11967: Fix more 64-bit warnings.Tim Potter1-6/+6
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10r11907: added testing of SMB2 keepaliveAndrew Tridgell1-1/+6
(This used to be commit 6096d23fe0e58b6c3e4174a70a0faebd88fd5f79)
2007-10-10r11905: added SMB2_FLUSH as opcode 7. Thanks to metze and volker for helpAndrew Tridgell1-0/+10
brainstorming this one. (This used to be commit a969ad592ae4cd8f7c66b1df4763fdc70328c967)
2007-10-10r11904: added smb2_tdis() testingAndrew Tridgell1-1/+13
(This used to be commit e2ed615a44d825f8c46755408a1a1657222a508b)
2007-10-10r11902: added smb2_logoff() testingAndrew Tridgell1-0/+13
(This used to be commit ff50377822fa48eab7f66275098782241ca50f40)
2007-10-10r11775: added support for creating files on SMB2 with initial EA lists and ↵Andrew Tridgell1-14/+0
an ACL (This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher1-9/+16
of the fixed body part, and +1 if there's a dynamic part - there're 3 types of dynamic blobs with uint16_t offset/uint16_t size with uint16_t offset/uint32_t size with uint32_t offset/uint32_t size /* aligned to 8 bytes */ - strings are transmitted in UTF-16 with no termination and packet into a uint16/uint16 blob metze (This used to be commit 79103c51e5c752fbdb4d25a0047b65002828df89)
2007-10-10r11738: test larger read/write calls. If you run smbtorture with -X (to enableAndrew Tridgell1-2/+9
'dangerous' tests) then it does a write of 160k, which causes vista to blue screen. Otherwise it does a 120k write which works fine. (This used to be commit b4c5d7d0173b94ade4c16d47ef774ad9f3c17bc8)
2007-10-10r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell1-8/+15
(This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)
2007-10-10r11716: added a read/write testAndrew Tridgell1-0/+48
(This used to be commit 7c229e5b9fc8774207b647214b9d03d26a60aae3)
2007-10-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell1-21/+26
- added a SMB2-SCANGETINFO test for scanning for available info levels - added names for the info levels I recognise to smb2.h (This used to be commit fe5986067e2aaca039d70393ccc8761434f18fe6)
2007-10-10r11695: added SMB2-SCAN torture test for scanning for active SMB2 opcodesAndrew Tridgell1-14/+2
(This used to be commit aa3bcf952c4436b488e461a3686955d70c672ce4)
2007-10-10r11693: added a full async composite function for SMB2 that does:Andrew Tridgell1-104/+7
- name resolution - socket connect - negprot - multi-stage session setup - tcon (This used to be commit c1a8e866fe6a0544b7b26da451ea093cdcacdd8f)
2007-10-10r11692: added a full composite (async) spnego session setup for SMB2. ThisAndrew Tridgell1-66/+10
simplies the torture code a lot. (This used to be commit 7bf1046fbb7fd83fecb2fa645628ba9a17aab037)
2007-10-10r11691: added reply buffer code checks and oplock flags for create request/replyAndrew Tridgell1-6/+9
(This used to be commit 26ed781375c03958241d8c93324e04e948944d01)
2007-10-10r11687: filled in 3 more fields in the close replyAndrew Tridgell1-0/+3
(This used to be commit 3a0abb3ff0b532179780ed95f8fcb4bca6e040b1)
2007-10-10r11681: filled in a few more smb2_create() fieldsAndrew Tridgell1-29/+40
(This used to be commit a95413568f1e45691524dfd8e9159a3bafe358ea)
2007-10-10r11680: added smb2_close(). This also demonstrates that file handles are 16Andrew Tridgell1-7/+45
bytes, not 20 bytes (metze, you were right!) (This used to be commit d3bcc6628cde9ddedf0fd408cbee573f133ce582)
2007-10-10r11679: opening/creating files in SMB2 now works. Lots of unknown parametersAndrew Tridgell1-3/+35
in the call tho. (This used to be commit 548fbd86b3b114493943b50669bdcba2f4ed87f2)