summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-09-26 21:28:14 +0200
committerJeremy Allison <jra@samba.org>2014-10-07 22:47:04 +0200
commit2a4290fa00c3dd35772b28b9aabeaf26999f0219 (patch)
tree0e0b910abffdc5e8b1aafd691bc547f7f41405fe /libcli/smb
parentc290ece1f6bf1b8b6c11672eab692f418d738071 (diff)
downloadsamba-2a4290fa00c3dd35772b28b9aabeaf26999f0219.tar.gz
libcli/smb: avoid validate info after tcon for SMB 3.10
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/smb')
-rw-r--r--libcli/smb/smb2cli_tcon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcli/smb/smb2cli_tcon.c b/libcli/smb/smb2cli_tcon.c
index dd310431ff0..dd453d89f14 100644
--- a/libcli/smb/smb2cli_tcon.c
+++ b/libcli/smb/smb2cli_tcon.c
@@ -156,6 +156,11 @@ static void smb2cli_tcon_done(struct tevent_req *subreq)
return;
}
+ if (smbXcli_conn_protocol(state->conn) >= PROTOCOL_SMB3_10) {
+ tevent_req_done(req);
+ return;
+ }
+
subreq = smb2cli_validate_negotiate_info_send(state, state->ev,
state->conn,
state->timeout_msec,