CPM/SRS - winRc=50: 'The request is not supported.'

CPM/SRS - winRc=50: 'The request is not supported.'

193
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 12:59 PM


Symptom



When CPM/SRS tries to manage a Windows account, a winRc=50 error is returned.  Depending on which log is viewed, the error may look like the below:

  • .Debug.Log:
    • Connecting with user [<domain>\<username>] to [\\<address>\ipc$] failed. Error: 50.
  • .log:
    • Error in prereconcilepass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The request is not supported. (winRc=50).
  • pm.log:
    • Error in prereconcilepass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The request is not supported. (winRc=50).


Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Secrets Rotation Service (SRS)


CPM/SRS
Windows Target
 



Cause



The CPM/SRS plugin is attempting to perform the password reset on a Read Only Domain Controller (RODC).  This happens if the CPM/SRS connector is in an Active Directory site where an RODC is targeted based on a least-cost calculation when GetDCName (the DC Locator Process) is issued.

This will occur if:
-The RODC is in the same AD site as the CPM/SRS connector and there are no other writable domain controllers.
-The RODC is in the same AD site as the CPM/SRS connector and there are other writable domain controllers of the same priority.
-The CPM/SRS connector is in a site that has no domain controllers, but the site with the least cost from the CPM/SRS connector site has an RODC with one of the scenarios mentioned above.

In the scenarios above, the RODC will always, or occasionally based on round robin distribution, be used by the CPM/SRS connector for the password reset.  In this case, the password change is not supported since the DC is read-only.


winRc stands for Windows Return Code.  Windows Return Codes are generated by Windows systems.  The return code shown in the CPM logs and PVWA UI is from the target Windows machine and not from CPM/SRS.

winRc=50 Error Definition:
ERROR_NOT_SUPPORTED
50 (0x32)
The request is not supported.

 



Resolution



The workaround for this issue is to configure AD so that the RODC is not selected by the CPM server/SRS connector.  The two methods of doing so involve increasing the site cost and/or decreasing the DC priority.


1) Higher Site Cost:
Place the RODC in a different Active Directory site where the cost to reach that site is higher than the cost to reach writable DCs in the same site or writable DCs in a different site from the CPM that has a lower cost.

2) Defined DC Priority:
Set a lower priority for the RODC by specifying a higher number than that of the writable DCs for LdapSrvPriority.  This will cause the writable DCs to be preferred over the RODC.  You do this by specifying the LdapSrvPriority parameter for the NetLogon service on the RODC.  For more information on this parameter, see this article: LdapSrvPriority


Once changes are made, reboot the CPM server/SRS connector to pickup the new domain settings.


Resources:
How does CPM Manage Windows Accounts Passwords

Windows System Error Codes
Windows Network Management Error Codes
Windows Routing and Remote Access Error Codes
Windows Sockets Error Codes
 



Additional Information


Details

SYMPTOM
When Reconciling accounts, the process fails with error:
 
Code: 2101, Error: Error in reconcilepass to user <domain>\<account> on domain <domain>(\\<server>). Reason: The request is not supported. (winRc=50).
 
PROBLEM
System is attempting to perform the password reset on a Read Only Domain Controller.
 
This happens if the CPM is in an Active Directory Site where a Read Only Domain Controller is targeted based on a least cost calculation when GetDCName (The DC Locator Process) is issued.
 
This will occur if:
-The RODC is in the same AD site as the CPM and there are no other Writable domain controllers
-The RODC is in the same AD site as the CPM and there are other Writable domain controllers of the same priority
-The CPM is in a site that has no domain controllers, but the site with the least cost from the CPM site has an RODC with one of the scenarios mentioned above.
 
In the scenarios above the RODC will always, or occasionally based on round robin distribution, be used by the CPM for the password reset.  In this case, the password change is not supported since the DC is read only.
 
SOLUTION
The two workarounds for this issue are to configure AD so that the RODC is not selected by the CPM server either by higher site cost or defined DC priority.
 
1) Higher Site Cost:
Place the RODC in a different Active Directory Site where the cost to reach that site is higher than the cost to reach Writable DCs in the same site or Writable DCs in a different site from the CPM that has a lower cost.
 
2) Defined DC Priority
If you wish to leave the RODC in the same site as the Writable Domain Controllers, set a lower Priority for the RODC by specifying a higher number than that of the Writable DCs for LdapSrvPriority. This will cause the Writable DCs to be preferred over the RODC.
 
You do this by specifying the LdapSrvPriority parameter for the NetLogon service on the RODC.  For more information on this parameter see: https://technet.microsoft.com/en-us/library/cc957290.aspx
 
 
Once changes are made, reboot the CPM server to pickup the new domain settings. 
 



Actions
  • Print
  • Copy Link

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