Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Windows 2008 R2 NPS with mac-based authentication from HP Procurve switch

Posted on 2011-09-13
Medium Priority
Last Modified: 2012-05-12
I am struggling to get mac-based authentication working on an HP Procurve 2626 switch together with NPS on Windows 2008 R2 acting as the Radius server.

I have succesfully managed to get user based authentication working between the switch and the NPS server but the mac-based authentication requests from the same switch are being bounced with 6723 errors.

The process I followed was as per the guidelines:-
Configured the relevant switch and port for mac-based authentication
Setup the NPS connection policy (with the "Override Network Policy" setting configured.
Setup a basic Network Access policy.
Created a user for my test device with the MAC address as the logon name and password and with the "reversible encryption pasword" setting on the user account.

When the device tries to authenticate the following errors appear in the security event log:-
Log Name:      Security
Source:        Microsoft-Windows-Security-Auditing
Date:          13/09/2011 09:00:32
Event ID:      6273
Task Category: Network Policy Server
Level:         Information
Keywords:      Audit Failure
User:          N/A
Computer:      MailIngestion.adnams.local
Network Policy Server denied access to a user.

Contact the Network Policy Server administrator for more information.

      Security ID:                  NULL SID
      Account Name:                  001d09b26cf2
      Account Domain:                  ADNAMS1
      Fully Qualified Account Name:      ADNAMS1\001d09b26cf2

Client Machine:
      Security ID:                  NULL SID
      Account Name:                  -
      Fully Qualified Account Name:      -
      OS-Version:                  -
      Called Station Identifier:      00-19-bb-88-fe-ad
      Calling Station Identifier:      00-1d-09-b2-6c-f2

      NAS IPv4 Address:            -
      NAS IPv6 Address:            -
      NAS Identifier:                  Reydon_IT
      NAS Port-Type:                  Ethernet
      NAS Port:                  19

RADIUS Client:
      Client Friendly Name:            HP Procurve 2626 (IT)
      Client IP Address:  

Authentication Details:
      Connection Request Policy Name:      MAC Based
      Network Policy Name:            -
      Authentication Provider:      Windows
      Authentication Server:            MailIngestion.adnams.local
      Authentication Type:            MD5-CHAP
      EAP Type:                  -
      Account Session Identifier:            -
      Logging Results:            Accounting information was written to the local log file.
      Reason Code:                  16
      Reason:                        Authentication failed due to a user credentials mismatch. Either the user name provided does not map to an existing user account or the password was incorrect.

An account failed to log on.

      Security ID:            SYSTEM
      Account Name:            MAILINGESTION$
      Account Domain:            ADNAMS1
      Logon ID:            0x3e7

Logon Type:                  3

Account For Which Logon Failed:
      Security ID:            NULL SID
      Account Name:            001d09b26cf2
      Account Domain:            ADNAMS1

Failure Information:
      Failure Reason:            An Error occured during Logon.
      Status:                  0xc000007a
      Sub Status:            0x0

Process Information:
      Caller Process ID:      0x34c
      Caller Process Name:      C:\Windows\System32\svchost.exe

Network Information:
      Workstation Name:      
      Source Network Address:      -
      Source Port:            -

Detailed Authentication Information:
      Logon Process:            IAS
      Authentication Package:      MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
      Transited Services:      -
      Package Name (NTLM only):      -
      Key Length:            0

This event is generated when a logon request fails. It is generated on the computer where access was attempted.

The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

The Process Information fields indicate which account and process on the system requested the logon.

The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The authentication information fields provide detailed information about this specific logon request.
      - Transited services indicate which intermediate services have participated in this logon request.
      - Package name indicates which sub-protocol was used among the NTLM protocols.
      - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.

I found an article relating to enabling MAC based authication which suggests changing a "User Identity Attribute" registry value. This value didn't exist but I created it anyway but with no difference:-

I also found an article relating to EAP-MD5 having been discontinued in NPS since Windows 2008. I followed this one to and made the registry changes but still no success:-

What is interesting is that the request details from the log show the
Request type as being MD5-CHAP, I am not sure how this differs if at all from a EAP-MD5 request.

There are many documents and guides to achieving what I need to do with Windows 2003 IAS server but very few that relaate to NPS on Windows 2008 R2.

I am pretty confident that the switch config is good and that the connection policies are good to as I have got the user based 802.1X EAP(PEAP) authentication working perfectly.

Any help or guidance would be very much appreciated


Question by:Adnams
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 36529513
After days of struggling I have just found the answer.
The problem was that even though the AD user I had created for the test devie MAC address had the "store password using reversible encryption" checked, our default domain policy had the "store password using reversible encryption for all users" setting set to "Disabled". Having changed the policy setting to "Not defined" and rebooted the domain controllers I now have 802.1X MAC and User based authentication working with very little compromise in security.

Horray !!!

Accepted Solution

EE_AutoDeleter earned 0 total points
ID: 37155500
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.


Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question