CPM/SRS - winRc=68: 'The name limit for the local computer network adapter card was exceeded.'

CPM/SRS - winRc=68: 'The name limit for the local computer network adapter card was exceeded.'

140
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:11 PM


Symptom



When CPM/SRS tries to manage a Windows account, a winRc=68 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: 68.
  • .log:
    • Error in prereconcilepass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The name limit for the local computer network adapter card was exceeded. (winRc=68).
  • pm.log:
    • Error in prereconcilepass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The name limit for the local computer network adapter card was exceeded. (winRc=68).


Environment


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


CPM/SRS
Windows Target
 



Cause



The TCP dynamic high ports (also known as ephemeral ports) the CPM/SRS connector utilizes to perform password management tasks are all in use, leaving no available ports for the plugin to use.


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=68 Error Definition:
ERROR_TOO_MANY_NAMES
68 (0x44)
The name limit for the local computer network adapter card was exceeded.

 



Resolution



On the CPM/SRS connector, open Command Prompt as Administrator and run the following command:

netstat -noq
 

Referencing the output of the command, below are some possible port state issues and how to resolve them:


Issue: Too many ephemeral ports in a BOUND state, usually associated to a specific PID.
Cause: A particular process running on the CPM server/SRS connector has faulted such that it has continuously opened up connections on successive ephemeral ports until the entire port range is used up.
Resolution: Stop the process that is utilizing the ports:
 
  1. Determine the PID in question based on the output of the netstat command.
  2. Open Task Manager on the CPM/SRS connector, select the Details tab, and locate the process name that is PID is assigned to.
  3. Take the appropriate action against the process to free up the ports (once the criticality of the process is determined, the appropriate action is usually to kill the process).
  4. Rerun the 'netstat' command listed above to see if the instances of ports with the same PID in a BOUND state has decreased.
Alternative Resolution: Restart the CPM server/SRS connector.
 
Issue: Too many ephemeral ports in a CLOSE_WAIT state, usually associated to a specific PID.
Cause: A particular process running on the CPM server/SRS connector has established an excessive number of connections with a remote target.  The CPM/SRS connector has sent a packet with the FIN bit set to advise that no more data will be sent and to start the process of tearing down the connection.  The remote target replies with a packet that also has the FIN bit set.  However, crucially, the packet sent from the remote target did not have the ACK bit set, thus the ports on the CPM/SRS connector are left in a CLOSE_WAIT state.
Resolution: Stop the process that is utilizing the ports:

 

  1. Determine the PID in question based on the output of the netstat command.
  2. Open Task Manager on the CPM/SRS connector, select the Details tab, and locate the process name that is PID is assigned to.
  3. Take the appropriate action against the process to free up the ports (once the criticality of the process is determined, the appropriate action is usually to kill the process).
  4. Rerun the 'netstat' command listed above to see if the instances of ports with the same PID in a CLOSE_WAIT state has decreased.

Alternative Resolution: Restart the CPM/SRS connector server.

    • To note, the default value for TCP CLOSE_WAIT time is 0xF0 (240 seconds = 4 minutes).  Therefore, this situation should rarely occur.


    It is important to note that in order to comply with Internet Assigned Numbers Authority (IANA) recommendations, Microsoft increased the dynamic port range for outgoing connections from ports 1025 through 5000 (3,976 total ports) to 49152 through 65535 (16,384 total ports).  This change was introduced with Server 2008 and Windows Vista.  This change dramatically reduces the chance of the situations listed above will ever occur in an environment.


    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=kA1hj0000001bLlCAI&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail