mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
libcli/smb: avoid validate info after tcon for SMB 3.10
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
c290ece1f6
commit
2a4290fa00
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user