NPS Error: Authentication failed due to a user credentials mismatch

Michael Glosker 5 Reputation points
2023-06-11T15:19:31.16+00:00

Hi all,

I'm currently in the process of setting up an NPS server and a RADIUS client, which will be my Cisco switch. Once I had configured both the switch and the NPS server, I proceeded to test AAA from the Cisco switch. However, I encountered an NPS error stating, "Authentication failed due to a user credentials mismatch," despite having entered the correct credentials.

This are my NPS Policy & Client configuration:

Screenshot_2

User's image

User's image

And this is the NPS error log:

Screenshot_1

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Gary Nebbett 6,216 Reputation points
    2023-06-12T12:00:58.7433333+00:00

    Hello Michael,

    The error log mentions "Authentication Type: PAP", but PAP does not seem to be one of the enabled (EAP-MSCHAP-v2, MS-CHAP, MS-CHAP v2) authentication types.

    Gary


  2. Limitless Technology 44,751 Reputation points
    2023-06-12T12:42:15.7066667+00:00

    Hello Michael,

    Thank you for your question and for reaching out with your question today.

    When encountering an NPS error stating "Authentication failed due to a user credentials mismatch" and seeing corresponding Audit Failure entries in the NPS server logs, there are several troubleshooting steps you can take to resolve the issue:

    1. Verify User Credentials: Ensure that the username and password you are using for authentication on the Cisco switch are correct. Double-check that the credentials match what is configured in the NPS server.
    2. Check Network Connectivity: Confirm that there is proper network connectivity between the Cisco switch and the NPS server. Ensure that the switch can reach the NPS server over the network and that there are no network-related issues, such as firewall rules blocking the traffic.
    3. Review NPS Policies: Examine the network policies configured on the NPS server. Pay attention to the conditions, constraints, and settings specified in the policies. Make sure that the user credentials you are using meet the requirements specified in the policies. Check if there are any policy-specific restrictions or settings that could cause the mismatch error.
    4. Validate Shared Secrets: Verify that the shared secret configured on both the Cisco switch and the NPS server match. The shared secret is used for secure communication between the RADIUS client (switch) and the RADIUS server (NPS). If they don't match, authentication will fail. Ensure that the shared secret is correctly entered on both devices.
    5. Check Event Logs: Inspect the event logs on the NPS server for more detailed information about the authentication failure. Look for the specific Audit Failure entries related to the authentication attempt. Note any error codes or messages provided in the logs, as they can give you insights into the cause of the mismatch error.
    6. Enable NPS Debug Logging: Enable debug logging on the NPS server to capture more detailed information about the authentication process. This can provide additional insights into the reason for the user credentials mismatch. Adjust the logging level and examine the debug logs for any specific error messages or clues.
    7. Verify NPS Server Configuration: Double-check the NPS server configuration, including the authentication methods, policies, and network access settings. Ensure that the NPS server is correctly configured to handle the authentication requests from the Cisco switch.
    8. Test with Different User: Attempt authentication using a different user account on the Cisco switch to see if the issue persists. This will help determine if the problem is specific to the user account or a more general configuration issue.
    9. Consult Cisco Documentation: Check the Cisco documentation and support resources for any specific guidelines or troubleshooting steps related to configuring NPS authentication on Cisco switches. There may be device-specific considerations or compatibility issues that need to be addressed.

    By following these steps, you should be able to identify the cause of the user credentials mismatch error and take appropriate actions to resolve it.

    I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.

    If the reply was helpful, please don’t forget to upvote or accept as answer.

    Best regards.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.