From ddb71b86b578e2ed464efc808b0f5da33ff30fd7 Mon Sep 17 00:00:00 2001 From: Zack T Date: Tue, 20 Oct 2020 19:20:23 -0700 Subject: [PATCH] v1.4.0 = Updated logic for determining the Jump Name Attribute + Updated logic for determining the Jump Name Attribute --- .../Install-BomgarJumpClient.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) rename Software/{ => Beyond Trust Bomgar}/Install-BomgarJumpClient.py (96%) diff --git a/Software/Install-BomgarJumpClient.py b/Software/Beyond Trust Bomgar/Install-BomgarJumpClient.py similarity index 96% rename from Software/Install-BomgarJumpClient.py rename to Software/Beyond Trust Bomgar/Install-BomgarJumpClient.py index 9d74d5f..fe08a7d 100644 --- a/Software/Install-BomgarJumpClient.py +++ b/Software/Beyond Trust Bomgar/Install-BomgarJumpClient.py @@ -3,7 +3,7 @@ Script Name: Install-BomgarJumpClient.py By: Zack Thompson / Created: 3/2/2020 -Version: 1.3.0 / Updated: 6/24/2020 / By: ZT +Version: 1.4.0 / Updated: 10/20/2020 / By: ZT Description: Installs a Bomgar Jump Client with the passed parameters @@ -206,7 +206,13 @@ def main(): if full_name_results['success']: full_name = re.sub("RealName:\s+", "", full_name_results['stdout']) - jumpName = "--jc-name '{full_name} ({console_user})'".format(full_name=full_name, console_user=console_user) + if "Setup User (_mbsetupuser)" != "{full_name} ({console_user})".format(full_name=full_name, console_user=console_user): + + jumpName = "--jc-name '{full_name} ({console_user})'".format(full_name=full_name, console_user=console_user) + + else: + + jumpName = "" else: # In case something goes wrong with dscl, set to none