129 error(
"Bad packet header\n");
220 warning(
"Disables CredSSP due to missing smartcard information for SSO.\n");
264 reason =
"SSL with user authentication required by server";
267 reason =
"SSL not allowed by server";
268 retry_without_neg =
True;
271 reason =
"no valid authentication certificate on server";
272 retry_without_neg =
True;
275 reason =
"inconsistent negotiation flags";
278 reason =
"SSL required by server";
281 reason =
"CredSSP required by server";
284 reason =
"unknown reason";
289 if (retry_without_neg)
292 "Failed to negotiate protocol, retrying with plain RDP.\n");
304 error(
"Expected RDP_NEG_RSP, got type = 0x%x\n",
type);
344 fprintf(
stderr,
"Connection established using plain RDP.\n");
349 error(
"Unexpected protocol in negotiation response, got data = 0x%x.\n",
355 *selected_protocol =
data;
ACPI_SIZE strlen(const char *String)
@ HYBRID_REQUIRED_BY_SERVER
@ SSL_WITH_USER_AUTH_REQUIRED_BY_SERVER
@ SSL_NOT_ALLOWED_BY_SERVER
static void iso_send_msg(uint8 code)
static STREAM iso_recv_msg(uint8 *code, uint8 *rdpver)
static void iso_send_connection_request(char *username, uint32 neg_proto)
void iso_reset_state(void)
RD_BOOL iso_connect(char *server, char *username, char *domain, char *password, RD_BOOL reconnect, uint32 *selected_protocol)
RD_BOOL g_encryption_initial
RD_BOOL g_use_password_as_pin
static RD_BOOL g_negotiate_rdp_protocol
RDP_VERSION g_rdp_version
char * g_sc_container_name
STREAM iso_init(int length)
void iso_disconnect(void)
STREAM iso_recv(uint8 *rdpver)
#define s_pop_layer(s, h)
#define s_push_layer(s, h, n)
#define out_uint16_be(s, v)
#define in_uint16_be(s, v)
#define s_check_rem(s, n)
#define out_uint8p(s, v, n)
void tcp_disconnect(void)
void tcp_reset_state(void)
STREAM tcp_recv(STREAM s, uint32 length)
RD_BOOL tcp_tls_connect(void)
RD_BOOL tcp_connect(char *server)
STREAM tcp_init(uint32 maxlen)
RD_BOOL cssp_connect(char *server, char *user, char *domain, char *password, STREAM s)
enum _RDP_VERSION RDP_VERSION
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
static const WCHAR version[]
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLuint GLsizei GLsizei * length
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
static rfbScreenInfoPtr server