mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #5793 from akallabeth/smartcard_cherry_pick
Tell the server that smartcard is redirected
This commit is contained in:
commit
bb16a101f8
|
@ -1699,6 +1699,9 @@ void gcc_write_client_cluster_data(wStream* s, rdpMcs* mcs)
|
|||
if (settings->ConsoleSession || settings->RedirectedSessionId)
|
||||
flags |= REDIRECTED_SESSIONID_FIELD_VALID;
|
||||
|
||||
if (settings->RedirectSmartCards)
|
||||
flags |= REDIRECTED_SMARTCARD;
|
||||
|
||||
Stream_Write_UINT32(s, flags); /* flags */
|
||||
Stream_Write_UINT32(s, settings->RedirectedSessionId); /* redirectedSessionID */
|
||||
}
|
||||
|
|
|
@ -341,7 +341,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
|
|||
settings->RestrictedAdminModeRequired = FALSE;
|
||||
settings->MstscCookieMode = FALSE;
|
||||
settings->CookieMaxLength = DEFAULT_COOKIE_MAX_LENGTH;
|
||||
settings->ClientBuild = 2600;
|
||||
settings->ClientBuild = 18363; /* Windows 10, Version 1909 */
|
||||
settings->KeyboardType = 4;
|
||||
settings->KeyboardSubType = 0;
|
||||
settings->KeyboardFunctionKey = 12;
|
||||
|
|
Loading…
Reference in New Issue