CPM/SRS - winRc=1311: 'There are currently no logon servers available to service the logon request.'

CPM/SRS - winRc=1311: 'There are currently no logon servers available to service the logon request.'

148
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:04 PM


Symptom



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

  • .Debug.Log:
    • Logon with user [<domain>\<username>] to [\\<address>\ipc$] failed. Error: 1311.
  • .log:
    • Error in prereconcilepass to user <domain>\<username> on domain <address>(\\<address>). Reason: There are currently no logon servers available to service the logon request. (winRc=1311).
  • pm.log:
    • Error in prereconcilepass to user <domain>\<username> on domain <address>(\\<address>). Reason: There are currently no logon servers available to service the logon request. (winRc=1311).


Environment


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


CPM/SRS
Windows Target

 



Cause


 

This error could be caused by multiple issues including, but not limited to, the following:

  • DNS resolution issues in the environment.
  • Trust relationship failure between the target device and primary domain.
  • One or more required network ports not being open.

Note: This error may also present itself with the following message: 'Reason: Can't obtain windows error.'


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

winRc=1311 Error Definition:
ERROR_NO_LOGON_SERVERS
1311 (0x51F) 
There are currently no logon servers available to service the logon request.
 



Resolution



Steps to resolve the issues listed above:
 

Issue: DNS resolution issues in the environment.
Resolution: As a test, attempt to manage the account with the address formatted in other ways.  For example, if the address is listed as hostname, try using FQDN, or IP.  Also check to see what the DisableAddressResolving parameter is set to on the platform.
 
When "DisableAddressResolving" is set to No, the plugin uses the DCLocator function to get the name of the best DC to communicate with.  When it does that, it gets the DC's hostname and tries to connect to it using that Hostname, not FQDN.  If hostname resolution functionality (IE: WINS or GlobalNamesZone) that allows for resolution of this short name does not exist, it will fail because it can't find the IP to talk to.

If the CPM/SRS connector is joined to domain.fqdn, for example, it will (by default, can be changed) attempt to append the domain suffix of its joined domain to the short name to attempt resolution. (IE: dc1.domain.fqdn) which of course will not work because the DC is in a different domain.  To resolve this issue:
  1. Add the remote domain suffixes to the DNS Suffix Search list on the network interface of the CPM/SRS connector so it will attempt to append those domains as well for resolution.
    • IE (Open the Properties for the network adapter)
      • Internet Protocol Version 4 (TCP/IPv4) -> Properties
      • Advanced
      • DNS Tab
      • "Append these DNS suffixes (in order):"
      • Add suffixes of the remote domains 
  2. Enable some form of shortname resolution (IE WINS, GlobalNamesZone, etc.)
Issue: Trust relationship failure between the target device and primary domain.
Resolution: Remove the device from the domain, and then reconnect it.  To do so:
  1. Use a local administrator account to log on to the computer.
  2. Click Start, type in sysdm.cpl, and click Enter.
  3. On the Computer Name tab, click Change.
  4. Under the 'Member of' heading, select Workgroup, type a workgroup name, and then click OK.
  5. When you are prompted to restart the computer, click OK.
  6. Log back in with the local administrator account and open System Properties via the same process as in step 2 above.
  7. On the Computer Name tab, click Change again.
  8. Under the Member of heading, select Domain, and then type the domain name.
  9. Click OK, and then type the credentials of the user who has permissions in the domain.
  10. When you are prompted to restart the computer, select OK.

Issue: One or more required network ports not being open.
Resolution: Review the plugin documentation regarding required network ports and ensure that they are opened as needed.



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



Actions
  • Print
  • Copy Link

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