diff options
author | speidy <speidy@gmail.com> | 2016-04-18 16:11:50 -0400 |
---|---|---|
committer | speidy <speidy@gmail.com> | 2016-05-12 17:20:50 -0400 |
commit | eb2bbcfc9f8f3ee0c70b552dd981b99d0e9ff59f (patch) | |
tree | a0c15ee6d1b9194e3d8e6504c0caad23d55ce31f /neutrinordp | |
parent | 62799b8b10979e5486c1adf17bf4a43ce21b32c1 (diff) | |
download | xrdp-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.c | 8 |
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)); |