RDP Proxy (PSM for Windows) - Kerberos Authentication using Windows Domain Via LDAP Platform

RDP Proxy (PSM for Windows) - Kerberos Authentication using Windows Domain Via LDAP Platform

212
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:10 PM


Symptom


PSM Session works fine if user Connects from PVWA GUI. 

When connecting to server using RDP Proxy, the error below is shown on the RDP session screen

1062E the requested account does not exist in the vault
or
1077E The requested account could not be found. Please make sure a domain account with the specified domain machine is defined in the system

image.png



Environment


12.1;12.2 PSM - RDP Proxy

Cause


For Kerberos Authentication on Windows Domain Via LDAP platform, it is a MUST to use the UPN of account to onboarding to PVWA.
Refer below:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/Plugins/plugin-LDAP.htm#AccountParameters


######################

Take for example the logs below:
----------------------------------
[21/04/2022 | 10:06:46.014069] | {pid=14988} | {tid= 816} | class CCAOSOWindowsRemoteAuthenticator * | PSM\(162) | :: | PSMOS022I Attempting to authenticate to remote windows with user: [DOMAIN\pvwaOnboardedAccount@domain.com]
[21/04/2022 | 10:06:47.400826] | {pid=14988} | {tid= 18308} | class CPSMRDPClientDlg * | PSM\(1495) | :: | PSMRD015I Connection details: Address [], UserName [DOMAIN\pvwaOnboardedAccount@domain.com], Domain [DOMAIN], Port [3389], AllowConnectToConsole [no],

-----------------------------------

For UPN account, in logs you can see that PSM is using user 'DOMAIN\pvwaOnboardedAccount@domain.com' to RDP to target. If you simulate the situation on PSM server, using MSTSC (RDP Client) to connect to target using this user 'DOMAIN\pvwaOnboardedAccount@domain.com' it fails miserably. 

It will work in this format 'domain.com\pvwaOnboardedAccount@domain.com'


Resolution


The issue lies with the /u switch for the alternate shell parameter:-

Not working  'alternate shell:s:' line:-
alternate shell:s:psm /u pvwaOnboardedAccount@domain.com /a targetAddress.domain.com /c PSM-RDP


**change /u pvwaOnboardedAccount@domain.com  to /u pvwaOnboardedAccount@domain.com@domain.com


Working 'alternate shell:s:' line:-

image.png

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001XeiCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail