summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-09-13 11:27:01 +0200
committerStefan Metzmacher <metze@samba.org>2013-09-17 04:00:33 +0200
commitf8b3c712f0dcb635bb750ebd218df77eeb584940 (patch)
tree3c84c64074a9ee28fe1293cdabb5fe8c85c6698a
parent80623b8593700eb9b14e6d50b5687cc7d37de764 (diff)
downloadsamba-f8b3c712f0dcb635bb750ebd218df77eeb584940.tar.gz
samba-f8b3c712f0dcb635bb750ebd218df77eeb584940.tar.bz2
samba-f8b3c712f0dcb635bb750ebd218df77eeb584940.zip
libcli/smb: negotiate SMB3_DIALECT_REVISION_302 if PROTOCOL_SMB3_02 is requested
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--libcli/smb/smbXcli_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c
index 8cbf27a9fc..7176e8f7a3 100644
--- a/libcli/smb/smbXcli_base.c
+++ b/libcli/smb/smbXcli_base.c
@@ -3677,6 +3677,7 @@ static const struct {
{PROTOCOL_SMB2_22, SMB2_DIALECT_REVISION_222},
{PROTOCOL_SMB2_24, SMB2_DIALECT_REVISION_224},
{PROTOCOL_SMB3_00, SMB3_DIALECT_REVISION_300},
+ {PROTOCOL_SMB3_02, SMB3_DIALECT_REVISION_302},
};
struct smbXcli_negprot_state {