Common channel settings can be overridden for each session type in NeutrinoRDP.
This commit is contained in:
@@ -535,6 +535,13 @@ lxrdp_set_param(struct mod *mod, const char *name, const char *value)
|
|||||||
{
|
{
|
||||||
/* Valid (but unused) parameters not logged */
|
/* 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
|
else
|
||||||
{
|
{
|
||||||
LOG(LOG_LEVEL_WARNING, "lxrdp_set_param: unknown name [%s] value [%s]", name, value);
|
LOG(LOG_LEVEL_WARNING, "lxrdp_set_param: unknown name [%s] value [%s]", name, value);
|
||||||
|
|||||||
+2
-1
@@ -1797,7 +1797,6 @@ xrdp_mm_process_login_response(struct xrdp_mm *self, struct stream *s)
|
|||||||
{
|
{
|
||||||
g_snprintf(port, 255, "%d", 7200 + display);
|
g_snprintf(port, 255, "%d", 7200 + display);
|
||||||
}
|
}
|
||||||
xrdp_mm_update_allowed_channels(self);
|
|
||||||
xrdp_mm_connect_chansrv(self, ip, port);
|
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
|
#ifdef USE_PAM
|
||||||
if (use_pam_auth)
|
if (use_pam_auth)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user