summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17083: - implement SMB2 Cancel in the clientStefan Metzmacher1-0/+6
- the 0xffffffffffffffff seqnum is reserved for SMB2 Break (oplock breaks) so don't use it in a request. we should someday try to test this... metze (This used to be commit 730cdc4475822e28cb400116641294a7f98ad0b5)
2007-10-10r17081: add idle handler support to the smb2 client lib tooStefan Metzmacher1-0/+9
metze (This used to be commit 1f48e7dca6a06078f3655a7f7a8f109bd6c0cb8e)
2007-10-10r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher1-13/+13
is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
2007-10-10r16705: fix a bug found by valgrind...Stefan Metzmacher1-0/+1
as we setup the 1 padding byte for non present dynamic part, we need to overwrite it when we're getting a real dynamic part, so we need to remove the buf->size +=1 when we do the first push to the dynamic part (when buf->dynamic is still but->body + buf->body_fixed) metze (This used to be commit f309209629ad1b63a76fc06163a3eeb07dce4c86)
2007-10-10r15191: Avoid uint_t as it's not standard.Jelmer Vernooij1-4/+4
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10r14511: Install more headersJelmer Vernooij1-2/+0
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-2/+0
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+2
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+2
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and thatAndrew Tridgell1-1/+2
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-10r11906: opcode 13 appears to be keepalive. Metze guessed this one :-)Andrew Tridgell1-0/+1
(This used to be commit afe2323dc10748b97e6b30dc0c783dbe04446d8c)
2007-10-10r11905: added SMB2_FLUSH as opcode 7. Thanks to metze and volker for helpAndrew Tridgell1-0/+1
brainstorming this one. (This used to be commit a969ad592ae4cd8f7c66b1df4763fdc70328c967)
2007-10-10r11901: added smb2_logoff() support (metze correctly guessed opcode 2 wasAndrew Tridgell1-0/+1
logoff) (This used to be commit 6884ce66f2881eba834b419370f74111852fe022)
2007-10-10r11888: - added SMB2 trans supportAndrew Tridgell1-0/+2
- added session key to SMB2 - renamed 'unknown2' in create to 'impersonation' (This used to be commit aef915f312a78bf8a4123f7c40fcd14ff293d934)
2007-10-10r11752: setup the dynamic pointer for incoming packets tooAndrew Tridgell1-1/+1
(This used to be commit 583f3c415ea33ddf5f4065a66f6fae49ab48455e)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher1-13/+18
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-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell1-0/+2
- 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-10r11696: added a few more opcode namesAndrew Tridgell1-0/+3
(This used to be commit 2a45476e94a248733333df29da57513bd114f213)
2007-10-10r11692: added a full composite (async) spnego session setup for SMB2. ThisAndrew Tridgell1-0/+2
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-0/+11
(This used to be commit 26ed781375c03958241d8c93324e04e948944d01)
2007-10-10r11679: opening/creating files in SMB2 now works. Lots of unknown parametersAndrew Tridgell1-1/+1
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/+9
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-2/+2
64bit uid (This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10r11666: filled in the basic session setup. Vista happily accepts the firstAndrew Tridgell1-0/+1
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-1/+7
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-10r11662: the beginnings of a SMB2 client library. Very hackish, meant for ↵Andrew Tridgell1-0/+154
experimentation (This used to be commit 68422dc73f6ea51bf906f3db223ae8abf077aba1)