summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2_calls.h
AgeCommit message (Collapse)AuthorFilesLines
2008-02-14updated SMB2 code for getinfo according to WSPP docsAndrew Tridgell1-7/+17
- Updated getinfo structures and field names - also updated the protocol revision number handling to reflect new docs (This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell1-1/+1
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12converted the out side of SMB2 negprot handlingAndrew Tridgell1-13/+11
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server and do basic operations (This used to be commit 9dc284770df9393a1a619735dc7a148713936fa7)
2008-02-12fixed up the .in side of SMB2 negprotAndrew Tridgell1-5/+8
fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-0/+1
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
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-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-22/+0
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r16975: implement SMB2 Notify call in the client libStefan Metzmacher1-0/+22
metze (This used to be commit a455dc7a8392230395c0e444f76a4ca13192f871)
2007-10-10r16875: implement SMB2 Find in the frontendStefan Metzmacher1-4/+0
metze (This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7)
2007-10-10r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfoStefan Metzmacher1-2/+2
metze (This used to be commit dcc02df8297162a7fd913560194d9e821798dbe0)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher1-265/+0
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+2
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14511: Install more headersJelmer Vernooij1-0/+1
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-0/+2
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and thatAndrew Tridgell1-5/+3
it only appeared to be like a SMBtrans request as it was being called with function 0x11c017 which is "named pipe read write" I wonder if this means we could do DCE/RPC over SMB using ntioctl calls as well? (This used to be commit f2b8857797328be64b0b85e875ae6d108e2aeaaa)
2007-10-10r11905: added SMB2_FLUSH as opcode 7. Thanks to metze and volker for helpAndrew Tridgell1-0/+7
brainstorming this one. (This used to be commit a969ad592ae4cd8f7c66b1df4763fdc70328c967)
2007-10-10r11895: - reorder some code to make it easier to follow, how the fields ↵Stefan Metzmacher1-2/+32
appear on the wire - add some comments to the header file, to represent the wire format metze (This used to be commit fa98f09f8b8829e66aa37cd947ab4f0cbb7b5476)
2007-10-10r11891: - added pipe_flags field in smb2_transAndrew Tridgell1-1/+3
- while running dcerpc over SMB2, the server will occasionally send us a oh-so-useful STATUS_PENDING result meaning "I don't have a result for you yet, but I'm working on it". These can be discarded :-) (This used to be commit 24588a9c499536299d7aaf5b56ff73fb255290ca)
2007-10-10r11888: - added SMB2 trans supportAndrew Tridgell1-1/+22
- added session key to SMB2 - renamed 'unknown2' in create to 'impersonation' (This used to be commit aef915f312a78bf8a4123f7c40fcd14ff293d934)
2007-10-10r11849: added mapping between SMB2 and SMB find/search levelsAndrew Tridgell1-0/+10
(This used to be commit 77e0cb999c776d2cfc806445d36135e5ba3a5f3d)
2007-10-10r11801: - added basic SMB2 find supportAndrew Tridgell1-2/+17
- added SMB2-SCANFIND test - cleaned up continue flags in EAs and find requests (This used to be commit 8792bc07d927e6470874230153177748afae3ee8)
2007-10-10r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell1-1/+5
- allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
2007-10-10r11780: it turns out that the MxAc tag isn't a security descriptor, its aAndrew Tridgell1-3/+1
request that the server return its own MxAc blob which contains the maximum allowed access_mask for the returned file handle (This used to be commit c0288aa8cd46ca384074f89430c226d725c39475)
2007-10-10r11775: added support for creating files on SMB2 with initial EA lists and ↵Andrew Tridgell1-1/+4
an ACL (This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
2007-10-10r11771: - split out the setinfo blob construction in the libcli/raw codeAndrew Tridgell1-0/+9
- added a smb2_setinfo call - added smb2_setinfo_file*() calls (This used to be commit da0b6fb93683331134ef2f4abd8707e0c3fc6d9d)
2007-10-10r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo callsAndrew Tridgell1-136/+8
(This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
2007-10-10r11755: added names for all of the SMB2 qfs info levels (they all map exactlyAndrew Tridgell1-8/+8
to equivalent SMB qfs levels) (This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher1-37/+95
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-10r11735: fixed the ALL_EAS smb2 level parsingAndrew Tridgell1-4/+2
(This used to be commit dd24c0e80cf07bda700a0abb84a7a053d817f903)
2007-10-10r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell1-15/+15
(This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)
2007-10-10r11715: added SMB2 read and write requestsAndrew Tridgell1-13/+47
(This used to be commit d3556cbfa38447d2d385b697c1855b3c13d42744)
2007-10-10r11700: added structure definitions for many of the getinfo structuresAndrew Tridgell1-1/+100
(This used to be commit 2919d4228636f1d61d930a37cddd5b1700bf2233)
2007-10-10r11698: added some more level namesAndrew Tridgell1-3/+4
(This used to be commit 845bbef8038b776b32da0c9c55ae9375feee4961)
2007-10-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell1-0/+47
- 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-10r11691: added reply buffer code checks and oplock flags for create request/replyAndrew Tridgell1-12/+28
(This used to be commit 26ed781375c03958241d8c93324e04e948944d01)
2007-10-10r11687: filled in 3 more fields in the close replyAndrew Tridgell1-5/+3
(This used to be commit 3a0abb3ff0b532179780ed95f8fcb4bca6e040b1)
2007-10-10r11682: filled in access_mask in tcon replyAndrew Tridgell1-1/+1
(This used to be commit 173a213f915aa929cc2a6bfef06954e665b3d694)
2007-10-10r11681: filled in a few more smb2_create() fieldsAndrew Tridgell1-9/+6
(This used to be commit a95413568f1e45691524dfd8e9159a3bafe358ea)
2007-10-10r11680: added smb2_close(). This also demonstrates that file handles are 16Andrew Tridgell1-3/+28
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-1/+46
in the call tho. (This used to be commit 548fbd86b3b114493943b50669bdcba2f4ed87f2)
2007-10-10r11674: SMB2 tree connect now works. We do 2 session setups and 2 treeAndrew Tridgell1-0/+14
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-4/+3
64bit uid (This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10r11665: started to put some meat on the structure used for the SMB2 libraryAndrew Tridgell1-0/+63
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)