summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/smb_server.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-21 17:23:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:44 -0500
commit10498e8a720d047ca3a013abbc9e406c630ab30a (patch)
tree8be0631fbc2e98b170bef4b59bbd0f80fa533529 /source4/smb_server/smb_server.h
parentbaa81e29593bbf73711914aadc35306fbf79ba21 (diff)
downloadsamba-10498e8a720d047ca3a013abbc9e406c630ab30a.tar.gz
samba-10498e8a720d047ca3a013abbc9e406c630ab30a.tar.xz
samba-10498e8a720d047ca3a013abbc9e406c630ab30a.zip
r23044: - use uint32_t for handle id's
- include the session vuid in the SMB2 128-Bit wire handles as SMB2 oplock breaks doesn't include a TID or VUID in the header we need to make sure the handle is unique for the whole TCP connection metze (This used to be commit 7c29b8a7e67c48478399788912b22c287fbd3b4e)
Diffstat (limited to 'source4/smb_server/smb_server.h')
-rw-r--r--source4/smb_server/smb_server.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h
index f2ff622b40..83a3f29ce5 100644
--- a/source4/smb_server/smb_server.h
+++ b/source4/smb_server/smb_server.h
@@ -185,13 +185,14 @@ struct smbsrv_handle {
/*
* the value passed over the wire
* - 16 bit for smb
- * - 64 bit for smb2
+ * - 32 bit for smb2
* Note: for SMB2 handles are 128 bit
- * we'll fill the 2nd 64 bit with:
+ * we'll fill them with
+ * - 32 bit HID
* - 32 bit TID
- * - 32 bit 0xFFFFFFFF
+ * - 64 bit VUID
*/
- uint64_t hid;
+ uint32_t hid;
/*
* the ntvfs handle passed to the ntvfs backend