Common channel settings can be overridden for each session type in NeutrinoRDP.

This commit is contained in:
TOMATO-ONE 2021-05-27 01:29:43 +09:00
parent 70a8af10f4
commit 604fa30083
2 changed files with 9 additions and 1 deletions

View File

@ -535,6 +535,13 @@ lxrdp_set_param(struct mod *mod, const char *name, const char *value)
{
/* Valid (but unused) parameters not logged */
}
else if (g_strcmp(name, "channel.rdpdr") == 0 ||
g_strcmp(name, "channel.rdpsnd") == 0 ||
g_strcmp(name, "channel.cliprdr") == 0 ||
g_strcmp(name, "channel.drdynvc") == 0)
{
/* Valid (but unused) parameters not logged */
}
else
{
LOG(LOG_LEVEL_WARNING, "lxrdp_set_param: unknown name [%s] value [%s]", name, value);

View File

@ -1797,7 +1797,6 @@ xrdp_mm_process_login_response(struct xrdp_mm *self, struct stream *s)
{
g_snprintf(port, 255, "%d", 7200 + display);
}
xrdp_mm_update_allowed_channels(self);
xrdp_mm_connect_chansrv(self, ip, port);
}
}
@ -2492,6 +2491,8 @@ xrdp_mm_connect(struct xrdp_mm *self)
}
}
xrdp_mm_update_allowed_channels(self);
#ifdef USE_PAM
if (use_pam_auth)
{