How to use the PSM-SAPGUI (Old)) connection component with Secure Network Communication (SNC)
Objective
The out of the box PSM-SAPGUI dispatcher PSMSAPGUI.exe doesn't support snc parameter for SAPGUI connections.
As a workaround, users can create a custom command line connection component to connect to use SNC. This workaround is provided as is and may not work in all cases. Custom connectors are not supported by Idira support.
Environment
11.3;11.4;11.5 Privileged Access Manager (PAM, self-hosted) PSM
Procedure
Stage 1: Add snc_name as a custom platform property
1. Using the PrivateArk Client, log in with the Administrator user (or any other user who has the rights to manage Vault File Categories). Go to File | Server File Categories
2. Click New
3. Enter snc_name for the Name, TEXT for the Type and click OK
4. Add the snc_name property to the relevant Platform so it's available in the PVWA for users to view and update
a. In the PVWA, log in with the Administrator user (or any other user who has the rights to access the Administration page).
b. Go to the Administration page.
c. Click the 'Platform Management' link.
d. Select the platform that you wish to add the file category.
e. Click Edit.
f. Expand UI and Workflows.
g. Expand Properties.
h. Right click 'Required' or 'Optional' and select 'Add Property'
i. Edit the values of the 'Name' and 'DisplayName' of the new property (make sure the name is identical to the name you used when adding the property to the vault as a Server File Category).
j. Save your changes
Stage 2 Create a command line connector
1. From PVWA-->Options-->connection components--> right-click on and duplicate PSM-SAPGUI to create a new connector, Make sure to change the connector ID before saving
2. Under Target settings, update the following:
a. ClientApp to:
C:\Program Files (x86)\SAP\FrontEnd\SAPgui\sapgui.exe" /SHORTCUT="-system={SystemNumber} -client={Client} -user={Username} -pw={Password} -snc_name={snc_name} -maxgui -guiparm="{Address} {SystemNumber}" "
If the session ends unexpectedly shortly after starting, you may need to add the /NoDelegate option to the ClientApp. In that case, it would be:
C:\Program Files (x86)\SAP\FrontEnd\SAPgui\sapgui.exe" /SHORTCUT="-system={SystemNumber} -client={Client} -user={Username} -pw={Password} -snc_name={snc_name} -maxgui -guiparm="{Address} {SystemNumber}" /NoDelegate"
b)ClientDispatcher to NA
c) ClientInvokeType to Commandline
3. Hit Apply to save the changes (make sure the duplicated connector has a different name than PSM-SAPGUI, duplicate connectors with the same will cause an XML parsing issue and crash your component servers).
4. Add the newly duplicated connector to the platform you added the snc_name property to in Stage 1
5. Make sure the onboarded SAP accounts have a proper entry for the snc_name property
Stage 3 Configure SAP
1. Please enable "Do not display picture" on the SAP user's profile side
2. Enable SNC under System Entry Properties
Note:
This guide is meant for the older dispatcher, and may not fully supported by R&D.
For full support, please use the latest dispatcher as per our documentation:
https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/new_sapapplicationsplugin.htm