summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2_calls.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-11 09:11:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:11 -0500
commit3e54c36fa459ec6f5e721b90ce4e4c1d0e31d85c (patch)
tree4b531427bf84558e179c4345d0968b08072c2814 /source4/libcli/smb2/smb2_calls.h
parent6c4be5073de177668d8c8fc05de625d3c9125268 (diff)
downloadsamba-3e54c36fa459ec6f5e721b90ce4e4c1d0e31d85c.tar.gz
samba-3e54c36fa459ec6f5e721b90ce4e4c1d0e31d85c.tar.bz2
samba-3e54c36fa459ec6f5e721b90ce4e4c1d0e31d85c.zip
r11674: SMB2 tree connect now works. We do 2 session setups and 2 tree
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)
Diffstat (limited to 'source4/libcli/smb2/smb2_calls.h')
-rw-r--r--source4/libcli/smb2/smb2_calls.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h
index 3ee8f90bc9..523f314cbf 100644
--- a/source4/libcli/smb2/smb2_calls.h
+++ b/source4/libcli/smb2/smb2_calls.h
@@ -60,3 +60,17 @@ struct smb2_session_setup {
uint64_t uid; /* returned in header */
} out;
};
+
+struct smb2_tree_connect {
+ struct {
+ uint32_t unknown1; /* 0x09 */
+ const char *path;
+ } in;
+ struct {
+ uint32_t unknown1; /* 0x00020010 */
+ uint32_t unknown2; /* 0x00 */
+ uint32_t unknown3; /* 0x00 */
+ uint32_t unknown4; /* 0x1f01ff */ /* capabilities?? */
+ uint64_t tid;
+ } out;
+};