Console mode fix (#7902)
* core: correctly handle console mode server-side In server-side we were not interpreting redirected session flag to compute a console mode flag. In the proxy that was leading client connecting with /admin to front to not connect with /admin on the back server. * nla: fix the printinng of the package name
This commit is contained in:
parent
372153bba3
commit
97c65d9701
@ -1812,7 +1812,10 @@ BOOL gcc_read_client_cluster_data(wStream* s, rdpMcs* mcs, UINT16 blockLength)
|
||||
Stream_Read_UINT32(s, redirectedSessionId); /* redirectedSessionId */
|
||||
|
||||
if (flags & REDIRECTED_SESSIONID_FIELD_VALID)
|
||||
{
|
||||
settings->RedirectedSessionId = redirectedSessionId;
|
||||
settings->ConsoleSession = !!(redirectedSessionId == 0);
|
||||
}
|
||||
|
||||
if (blockLength != 8)
|
||||
{
|
||||
|
@ -1056,7 +1056,7 @@ static int nla_client_init(rdpNla* nla)
|
||||
if (nla->status != SEC_E_OK)
|
||||
return -1;
|
||||
|
||||
WLog_DBG(TAG, "%s %" PRIu32 " : packageName=%ls ; cbMaxToken=%d", __FUNCTION__, __LINE__,
|
||||
WLog_DBG(TAG, "%s %" PRIu32 " : packageName=%s ; cbMaxToken=%d", __FUNCTION__, __LINE__,
|
||||
nla->packageName, nla->cbMaxToken);
|
||||
nla->status = nla->table->AcquireCredentialsHandle(NULL, NLA_PKG_NAME, SECPKG_CRED_OUTBOUND,
|
||||
NULL, nla->identityPtr, NULL, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user