OneIdentity / SCALUS

SCALUS -- Session Client Application Launch Uri System
Apache License 2.0
11 stars 3 forks source link

RDP Tempfile Name #30

Closed SebaMartin closed 3 years ago

SebaMartin commented 3 years ago

When opening an RDP session, SCALUS creates a temporary RDP file to start the session. This file name shows up in the RDP window name. For example "tmpADB1.rdp" (Image attached)

RDP FileName

The Safeguard Client uses a combination of AssetName, AccountName and ConnectionID for the RDP file which makes it easier to identify the correct RDP window if you are using multiple windows simultaneous.

This is not really an "issue" but I couldn't find a way to create a "suggestion"

PS: I couldn't find the lines in code where this temp file is created and named. If you can tell me where this is done, maybe I can try to fix this myself somehow. I still believe this should be fixed in the final Release into the Safeguard Product.

MiriamMcMahon commented 3 years ago

Thanks for the suggestion. I agree , it would be helpful to distinguish between multiple sessions. I will put in a fix for it.

MiriamMcMahon commented 3 years ago

For safeguard URLs, I've changed it to use the target asset hostname and accountname to name the temp file in scalus (the Safeguard asset name is not included in the URL, so scalus doesnt have access to it). I also had to replace the "." character with ' ~ ' to avoid Microsoft RDP truncating the title at the first '.' in the hostname, so the title now looks something like this _SG-myasset~mydomain ~com_jsmithd0cba338-12bc-4209-9eb8-4a4b5c48623d - sps-appliance.mydomain.com