Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
struct py_cli_state {
PyObject_HEAD
struct cli_state *cli;
- bool is_smb1;
struct tevent_context *ev;
int (*req_wait_fn)(struct tevent_context *ev,
struct tevent_req *req);
return NULL;
}
self->cli = NULL;
- self->is_smb1 = false;
self->ev = NULL;
self->thread_state = NULL;
self->oplock_waiter = NULL;
return -1;
}
- if (smbXcli_conn_protocol(self->cli->conn) < PROTOCOL_SMB2_02) {
- self->is_smb1 = true;
- }
-
/*
* Oplocks require a multi threaded connection
*/