diff options
author | jsorg71 <jsorg71> | 2009-08-19 07:27:35 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2009-08-19 07:27:35 +0000 |
commit | df8527b2517dd3fc6794666a859d2453951d03ad (patch) | |
tree | 27afe2746450f919dba1a7682e3469eef9596a88 /xrdp | |
parent | 3fd42d808adf82bd910c3e51b4dc89b3d35107fa (diff) | |
download | xrdp-proprietary-df8527b2517dd3fc6794666a859d2453951d03ad.tar.gz xrdp-proprietary-df8527b2517dd3fc6794666a859d2453951d03ad.zip |
pass domain, program, and directory to sesman and use directory and program
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp_mm.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c index e6c4e4d2..bfdfc4f0 100644 --- a/xrdp/xrdp_mm.c +++ b/xrdp/xrdp_mm.c @@ -249,6 +249,18 @@ xrdp_mm_send_login(struct xrdp_mm* self) out_uint16_be(s, self->wm->screen->width); out_uint16_be(s, self->wm->screen->height); out_uint16_be(s, self->wm->screen->bpp); + /* send domain */ + index = g_strlen(self->wm->client_info->domain); + out_uint16_be(s, index); + out_uint8a(s, self->wm->client_info->domain, index); + /* send program / shell */ + index = g_strlen(self->wm->client_info->program); + out_uint16_be(s, index); + out_uint8a(s, self->wm->client_info->program, index); + /* send directory */ + index = g_strlen(self->wm->client_info->directory); + out_uint16_be(s, index); + out_uint8a(s, self->wm->client_info->directory, index); s_mark_end(s); s_pop_layer(s, channel_hdr); out_uint32_be(s, 0); /* version */ |