1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

libcli/smb: debug an error if smb1cli_req_writev_submit() is called for SMB2/3

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12968

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 18 04:45:03 CEST 2017 on sn-devel-144
This commit is contained in:
Stefan Metzmacher 2017-08-16 22:27:15 +02:00 committed by Jeremy Allison
parent 428fc22e8b
commit 9fb2562324

View File

@ -1661,6 +1661,9 @@ static NTSTATUS smb1cli_req_writev_submit(struct tevent_req *req,
}
if (state->conn->protocol > PROTOCOL_NT1) {
DBG_ERR("called for dialect[%s] server[%s]\n",
smb_protocol_types_string(state->conn->protocol),
smbXcli_conn_remote_name(state->conn));
return NT_STATUS_REVISION_MISMATCH;
}