Cannot login to a domain machine using SmartCard

Hello,

I have the following setup:

1) AD/DNS on Windows 2008R2

2) Active Directory Certificate Services running a Windows 2012R2 machine

I have setup smartcard authentication following this article: http://www.edutech.me.uk/microsoft/identity-and-access-management/authentication/configure-server-2012-ca-for-smartcard-authentication/

I have successfully enrolled the smartcard and the certificate for the user is present on the SmartCard.

Now, each time I try to login to a domain machine using a SmartCard, the login fails and I get this error in the security logs of the machine where I attempted to log on:

Log Name:      Security
Source:        Microsoft-Windows-Security-Auditing
Date:          3/7/2015 8:36:26 PM
Event ID:      4625
Task Category: Logon
Level:         Information
Keywords:      Audit Failure
User:          N/A
Computer:      PBNET-CA.pbnet.pbnet.local
Description:
An account failed to log on.

Subject:
 Security ID:  SYSTEM
 Account Name:  PBNET-CA$
 Account Domain:  PBNET
 Logon ID:  0x3E7

Logon Type:   2

Account For Which Logon Failed:
 Security ID:  NULL SID
 Account Name:  Administrator@pbnet.pbnet.local
 Account Domain:  

Failure Information:
 Failure Reason:  An Error occured during Logon.
 Status:   0xC000006D
 Sub Status:  0xC0000321

Process Information:
 Caller Process ID: 0x9f8
 Caller Process Name: C:\Windows\System32\winlogon.exe

Network Information:
 Workstation Name: PBNET-CA
 Source Network Address: 127.0.0.1
 Source Port:  0

Detailed Authentication Information:
 Logon Process:  User32
 Authentication Package: Negotiate
 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've even tried importing the user's certificate in the trusted store of the machine, but the error still remains.

I've suspected AD connection, but I get the SID with no problems using PowerShell:

PS C:\Users\Administrator.PBNET> $objUser = New-Object System.Security.Principal.NTAccount("Administrator")
$strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])
$strSID.Value
S-1-5-21-2746926219-xxxxxxxx-3937545795-500

Could somebody please give me a hint or tell me what I'm doing wrong ?

Thanks a lot,

Andrei.

March 8th, 2015 3:33am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics