summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-22 13:08:44 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-22 15:58:45 +0100
commit2bd2f3880e3ec1a241ae4cc2a961ec8c04fece29 (patch)
tree53d4549188300c88209f758e006c59bfb9fc5c57 /libcli
parent5bc242f4a20893899c417ed24c18ef9a48759594 (diff)
downloadsamba-2bd2f3880e3ec1a241ae4cc2a961ec8c04fece29.tar.gz
samba-2bd2f3880e3ec1a241ae4cc2a961ec8c04fece29.tar.bz2
samba-2bd2f3880e3ec1a241ae4cc2a961ec8c04fece29.zip
libcli/smb: add PROTOCOL_SMB2_24 support
metze
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smbXcli_base.c1
-rw-r--r--libcli/smb/smb_constants.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
index 6aa30ba4b7..6a2547050e 100644
--- a/libcli/smb/smbXcli_base.c
+++ b/libcli/smb/smbXcli_base.c
@@ -3061,6 +3061,7 @@ static const struct {
{PROTOCOL_SMB2_02, SMB2_DIALECT_REVISION_202},
{PROTOCOL_SMB2_10, SMB2_DIALECT_REVISION_210},
{PROTOCOL_SMB2_22, SMB2_DIALECT_REVISION_222},
+ {PROTOCOL_SMB2_24, SMB2_DIALECT_REVISION_224},
};
struct smbXcli_negprot_state {
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h
index 7c4620aa43..9ee6f41575 100644
--- a/libcli/smb/smb_constants.h
+++ b/libcli/smb/smb_constants.h
@@ -84,7 +84,8 @@ enum protocol_types {
PROTOCOL_NT1,
PROTOCOL_SMB2_02,
PROTOCOL_SMB2_10,
- PROTOCOL_SMB2_22
+ PROTOCOL_SMB2_22,
+ PROTOCOL_SMB2_24
};
enum smb_signing_setting {