summaryrefslogtreecommitdiffstats
path: root/neutrinordp
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2016-04-18 16:11:50 -0400
committerspeidy <speidy@gmail.com>2016-05-12 17:20:50 -0400
commiteb2bbcfc9f8f3ee0c70b552dd981b99d0e9ff59f (patch)
treea0c15ee6d1b9194e3d8e6504c0caad23d55ce31f /neutrinordp
parent62799b8b10979e5486c1adf17bf4a43ce21b32c1 (diff)
downloadxrdp-proprietary-eb2bbcfc9f8f3ee0c70b552dd981b99d0e9ff59f.tar.gz
xrdp-proprietary-eb2bbcfc9f8f3ee0c70b552dd981b99d0e9ff59f.zip
neutrinordp: set nla, program parameters from preamble
Diffstat (limited to 'neutrinordp')
-rw-r--r--neutrinordp/xrdp-neutrinordp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/neutrinordp/xrdp-neutrinordp.c b/neutrinordp/xrdp-neutrinordp.c
index 67bc276b..784b6e88 100644
--- a/neutrinordp/xrdp-neutrinordp.c
+++ b/neutrinordp/xrdp-neutrinordp.c
@@ -430,6 +430,14 @@ lxrdp_set_param(struct mod *mod, char *name, char *value)
/* This is a Struct and cannot be printed in next else*/
LLOGLN(10, ("Client_info struct ignored"));
}
+ else if (g_strcmp(name, "program") == 0)
+ {
+ settings->shell = g_strdup(value);
+ }
+ else if (g_strcmp(name, "nla") == 0)
+ {
+ settings->nla_security = g_text2bool(value);
+ }
else
{
LLOGLN(0, ("lxrdp_set_param: unknown name [%s] value [%s]", name, value));