summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-02-14 17:11:36 +1100
committerAndrew Tridgell <tridge@samba.org>2008-02-14 17:11:36 +1100
commitb640f475be9b0f83e7812a5c7756344c5891cba3 (patch)
treeeb7c955f31379ae243f89004ff872054d80b764d /source4/libcli/smb2/smb2.h
parent4a04a5e620a4666fc123d04cb96ef391de72c469 (diff)
downloadsamba-b640f475be9b0f83e7812a5c7756344c5891cba3.tar.gz
samba-b640f475be9b0f83e7812a5c7756344c5891cba3.tar.bz2
samba-b640f475be9b0f83e7812a5c7756344c5891cba3.zip
updated SMB2 code for getinfo according to WSPP docs
- Updated getinfo structures and field names - also updated the protocol revision number handling to reflect new docs (This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
Diffstat (limited to 'source4/libcli/smb2/smb2.h')
-rw-r--r--source4/libcli/smb2/smb2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h
index af08b0180a..726df64090 100644
--- a/source4/libcli/smb2/smb2.h
+++ b/source4/libcli/smb2/smb2.h
@@ -200,6 +200,9 @@ struct smb2_request {
#define SMB2_MAGIC 0x424D53FE /* 0xFE 'S' 'M' 'B' */
+/* the dialect we support */
+#define SMB2_DIALECT_REVISION 0x202
+
/* SMB2 negotiate security_mode */
#define SMB2_NEGOTIATE_SIGNING_ENABLED 0x01
#define SMB2_NEGOTIATE_SIGNING_REQUIRED 0x02