summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/connect.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r11677: print leading zerosStefan Metzmacher1-2/+2
metze (This used to be commit 19fb79b35d6d0b20d01f3722754cdd734bebc2ba)
2007-10-10r11674: SMB2 tree connect now works. We do 2 session setups and 2 treeAndrew Tridgell1-2/+36
connects, giving the following output: Running SMB2-CONNECT Negprot reply: current_time = Fri Nov 11 20:10:42 2005 EST boot_time = Sat Nov 12 10:34:33 2005 EST Session setup gave UID 0x40000000071 Session setup gave UID 0x140000000075 Tree connect gave tid = 0x7500000001 Tree connect gave tid = 0x7500000005 SMB2-CONNECT took 0.049024 secs (This used to be commit a24a4c311005dec4c5638e9c7c10e5e2f9872f4d)
2007-10-10r11668: yay! we get a successful session setup with SMB2, and get back a ↵Andrew Tridgell1-10/+30
64bit uid (This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10r11666: filled in the basic session setup. Vista happily accepts the firstAndrew Tridgell1-6/+48
stage of the session setup, and waits for more. (This used to be commit 804c229c3ba7f866a7f3d66684e268d5ddc820ce)
2007-10-10r11665: started to put some meat on the structure used for the SMB2 libraryAndrew Tridgell1-11/+59
the call definitions will be in smb2_calls.h, which will play a similar role that smb_interfaces.h plays for the old SMB protocol (This used to be commit 4ef3902a8a99a0b8caa81a07ba07830d7cbbc32c)
2007-10-10r11663: start of a SMB2 torture test. Just does a negprot and prints some ↵Andrew Tridgell1-0/+74
fields for now. test name is SMB2-CONNECT (This used to be commit 13f27fadca2f74a2486caa7df0fc7662fca16f67)