PSM - transparent connection with IP\username doesn't work, but Hostname\username works

PSM - transparent connection with IP\username doesn't work, but Hostname\username works

171
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:04 PM


Symptom



During the transparent connection, the user received an error message: "authentication failure, bad user name or password". The PSM sent "IP address\username" and password:

 
 
 
 
 
 
 
 
 
 

However, when changing the User name field to "Hostname\username" and using the same password, it works.

 
 
 
 
 
 
 


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.4;12.3;12.5;12.6;13.0 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) PSM

Cause


The error is because the user name in MSTSC should be “hostname\username” and not “IP\username”. 
By default, PSM works according to the hostname (or domain) of the last interactive logon.


Resolution


Passwords that are used to connect to Windows machines must supply the user domain name as well as the address of the machine. The domain name can be taken from the Address property if the Address specifies a short NETBIOS domain name. Otherwise, the short NETBIOS domain name must be specified in a property called LogonDomain (a.k.a "Logon to:").
"LogonDomain" and "Log on to:" are the same. "Logon to:" is the display name of LogonDomain property.
The difference in names is because the property actually contains the user domain name but when connecting to a remote machine it is displayed in the Windows log on dialog as "Logon to:" (this is how it is displayed in windows RDP as well).
You need to make sure the property will be displayed in the password details page. you can enable it from the system tab  


Additional Information


Details

SYMPTOM:

During the transparent connection, the user received an error message: "authentication failure, bad user name or password".

The PSM sent "IP address\username" and password.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

However, when changing the User name field to "Hostname\username" and using the same password, it works.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PROBLEM:

The error is because the user name in MSTSC should be “hostname\username” and not “IP\username”.

By default, PSM works according to the hostname (or domain) of the last interactive logon.

 

SOLUTION:

Passwords that are used to connect to Windows machines must supply the user  domain name as well as the address of the machine. The domain name can be taken from the Address property if the Address specifies a short NETBIOS domain name. Otherwise, the short NETBIOS domain name must be specified in a property called LogonDomain (a.k.a "Logon to:").

"LogonDomain" and "Log on to:" are the same. "Logon to:" is the display name of LogonDomain property.

The difference in names is because the property actually contains the user domain name but when connecting to a remote machine it is displayed in the Windows log on dialog as "Logon to:" (this is how it is displayed in windows RDP as well).

You need to make sure the property will be displayed in the password details page. you can enable it from the system tab  

 




Actions
  • Print
  • Copy Link

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