DATA_BLOB out_blob;
struct auth_generic_state *auth_generic_state;
struct iovec *recv_iov;
+ uint32_t saved_tid;
printf("Starting SMB2-SESSION_REAUTH\n");
return false;
}
+ saved_tid = cli->smb2.tid;
+ status = cli_tree_connect(cli, share, "?????", "", 0);
+ if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_HANDLE)) {
+ printf("cli_tree_connect returned %s\n", nt_errstr(status));
+ return false;
+ }
+ cli->smb2.tid = saved_tid;
+
subreq = smb2cli_session_setup_send(talloc_tos(), ev,
cli->conn,
cli->timeout,
return false;
}
+ saved_tid = cli->smb2.tid;
+ status = cli_tree_connect(cli, share, "?????", "", 0);
+ if (!NT_STATUS_IS_OK(status)) {
+ printf("cli_tree_connect returned %s\n", nt_errstr(status));
+ return false;
+ }
+ cli->smb2.tid = saved_tid;
+
return true;
}