Smart Cards Login Problem
-
lunes, 12 de marzo de 2012 9:31
We are having a 2008R2 domain with R2 terminal servers on which users login through Sunray Thin clients for accessing various applications. We have deployed a PKI and are using Smart Cards(Oberthur).
I have setup the CA(third party) in the forest as per the following documentation available:
http://support.microsoft.com/kb/281245
Have published the certificates and also added them to specific stores on the required servers. Now when I try to login with the smart card the R2 Terminal Server prompts me for the pin. But when I enter the pin and press ENTER it displays a message something like
"windows cannot log you on because smart card log in is not cofigured for your organisation"
What may be the problem?
- Editado King of Spades lunes, 12 de marzo de 2012 9:35
Todas las respuestas
-
lunes, 12 de marzo de 2012 13:53
Besides that the users certificates fulfill the basic requirements of smart card logon, check the following:
- The issuing CA (the third party CA) is trusted in the NTAuth store, use the command [certutil -viewstore -enterprise NTAuth] to verify
- The smart card certificates are enabled for revocation checking and that revocation checking actually works, the CRLs are reachable from your DCs and clients
- All your DCs have received a Domain Controller/ Domain Controller Authentication certificate
/Hasain
- Marcado como respuesta King of Spades jueves, 05 de abril de 2012 3:59
-
jueves, 15 de marzo de 2012 13:56
It sounds very much like the Domain Controller and/or Domain COntroller AUthentication certificates are missing on the DC.
Run MMC
File->Add Snap in
Choose certificates
Select "Computer account" NOT the user account
Under Personal->Certificates -> All tasks -> Request New Certificate select the two certificates you need.
- Marcado como respuesta King of Spades jueves, 05 de abril de 2012 3:59
-
jueves, 15 de marzo de 2012 16:12
Dear Hasain & Tony!
Thanks for replying. Have checked and taken care of all the points as mentioned by both of you. Still the problem presists :(
-
viernes, 16 de marzo de 2012 1:31Moderador
-
viernes, 16 de marzo de 2012 9:13Hi, Please help to confirm following points. 1. Does this issue only happen when user log on to TS? 2. Did the user successfully log on to his working computer by using smart card? 3. if user log on to onther computer using smard card, does this issue happen again?
Best regards, Jason Mei Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
-
viernes, 16 de marzo de 2012 9:15
Hi,
Please help to confirm following points.
1. Does this issue only happen when user log on to TS?
2. Did the user successfully log on to his working computer by using smart card?
3. if user log on to onther computer using smard card, does this issue happen again?Best regards, Jason Mei Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
-
viernes, 16 de marzo de 2012 12:23
Dear Jason
Thanks for replying.
The issue occurs on the TS as well as on PCs which are part of the domain.
I am posting the Security Audit Failure Event details:
Log Name: Security
Source: Microsoft-Windows-Security-Auditing
Date: 3/15/2012 4:26:41 PM
Event ID: 4625
Task Category: Logon
Level: Information
Keywords: Audit Failure
User: N/A
Computer: TerminalServer.xyz.com
Description:An account failed to log on.
Subject:
Security ID:SYSTEM
Account Name:TerminalServer$
Account Domain:XYZ
Logon ID:0x3e7
Logon Type: 10
Account For Which Logon Failed:
Security ID:NULL SID
Account Name:User1@xyz.com
Account Domain:
Failure Information:
Failure Reason:An Error occured during Logon.
Status:0xc00000bb
Sub Status:0x0
Process Information:
Caller Process ID:0x200
Caller Process Name:C:\Windows\System32\winlogon.exe
Network Information:
Workstation Name:TerminalServer
Source Network Address:192.168.1.1
Source Port:43212
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.- Editado King of Spades viernes, 16 de marzo de 2012 12:26
-
lunes, 19 de marzo de 2012 4:37
Dear Elytis Cheng,
Thanks for replying. Can you please tell me whether the issue is with the 2008 R2 domain or 2008 R2 Terminal Server.
Anxiously waiting for your reply.
-
lunes, 19 de marzo de 2012 4:59
Hi,
according to your reply, it seems user never successfully logs on to any computer by using smart card, am i right? if so, i'm afraid the configuration for smart card has something wrong. By default, DC first uses the certificate from the service store and retrieves the private key associated with the certificate from service store . If no any proper certificates installed in the service store, it will use the certificates from the computer store and it will choose a random certificate if there are many certificates matching the requirement of smart card in the computer store. So If we want to designate the 3rd party certificate for smart card, we should import the certificate to the service store. (Active Directory Domain Services).
Best regards, Jason Mei Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
-
lunes, 19 de marzo de 2012 5:06
Dear Jason Mei
Thanks for replying.
The required certificates from the third party CAs are already imported in the computer account certificate store of the DC. As I already mentioned I followed the documentation available on the following link:
-
martes, 20 de marzo de 2012 7:48
Hi,
please ensure the certificate for user smart card logon has been published to AD for certificate owner. if not, please perform following steps to publish it to AD.
Go to user's properities->Published certificates->then add it from files or store.
Best regards, Jason Mei Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
-
martes, 20 de marzo de 2012 7:51
Hi,
please ensure the certificate for user smart card logon has been published to AD for certificate owner. if not, please perform following steps to publish it to AD.
Go to user's properities->Published certificates->then add it from files or store.
Best regards, Jason Mei Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
For smart card logon, certificates does not need to be published in AD. The KDC checks the UPN and or Subject name for matching/finding an enabled user account.
/Hasain
-
miércoles, 21 de marzo de 2012 8:30
HI,
below is some articles about smart card logon.
Smart Card Logon and AuthenticationSmart Card Logon and Authentication : http://blogs.msdn.com/b/windowsvistanow/archive/2008/03/26/smart-card-logon-and-authentication.aspx
Smart Card Logon on Windows Vista: http://blogs.msdn.com/b/shivaram/archive/2007/02/26/smart-card-logon-on-windows-vista.aspx
From the artilce, we should know the Certificate for CA issuing smart Cart logon must be published to AD Ntauthcertificates.
Best regards, Jason Mei Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
- Propuesto como respuesta Jason Mei martes, 27 de marzo de 2012 10:00
- Marcado como respuesta Elytis ChengModerator miércoles, 28 de marzo de 2012 9:19
-
jueves, 05 de abril de 2012 3:59
At last the problem has been resolved. The problem was definitely with the Domain Controller Certificates as indicated by Jason, Hasain and Tony. The Certificates were added but were added with a wrong method. The method was corrected and the certificates were put in the correct stores of the Domain Controllers Computer Accounts and the problem was resolved.- Editado King of Spades jueves, 05 de abril de 2012 4:00
- Marcado como respuesta King of Spades jueves, 05 de abril de 2012 4:00

