summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/connect.c
AgeCommit message (Collapse)AuthorFilesLines
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)