Kerberos authentication problems
vince.iacoboni_at_db.com
Date: 12/22/04
- Next message: Kevin McDonnell [MSFT]: "Re: IIS, SQL DMZ question"
- Previous message: John Bell: "Re: To DMZ or not DMZ"
- Next in thread: Kevin McDonnell [MSFT]: "RE: Kerberos authentication problems"
- Reply: Kevin McDonnell [MSFT]: "RE: Kerberos authentication problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 22 Dec 2004 13:07:05 -0800
I'm trying to get Windows authentication working for MS SQL Server
using a domain account. The symptom I'm getting is 'Login failed for
user (null). Not associated with a trusted connection.' errors when
attempting to connect using Windows authentication.
- The service account (dbg\svca_abcmsp) has "Trust this user for
delation to any service (Kerberos only)" enabled.
- "Account is sensitive and cannot be delegated" is cleared.
- The account is in the Local Administrators group on the two SQL
machines.
- The two computer accounts have "Trust this computer for delegation to
any service (Kerberos only)" enabled.
- ASDI Edit shows the service account has the following
servicePrincipalNames defined:
MSSQLSvc/nycpbasp2417.us.db.com:1433
MSSQLSvc/nycpbasp2418.us.db.com:1433
- I turned on Kerberos logging and got the following results:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
------------------------------------------------------------------------------
Listing the events in 'system' log of host 'NYCPBASP2418'
------------------------------------------------------------------------------
Type: Error
Event: 3
Date Time: 12/22/2004 3:10:18 PM
Source: Kerberos
ComputerName: NYCPBASP2418
Category: None
User: N/A
Description: A Kerberos Error Message was received: on logon
session dbg\svca_abcmsp Client Time: Server Time: 20:9:20.0000
12/22/2004 Z Error Code: 0x34 KRB_ERR_RESPONSE_TOO_BIG Extended
Error: Client Realm: Client Name: Server Realm: dbg Server Name:
krbtgt/dbg Target Name: krbtgt/dbg@dbg Error Text: File: e Line:
6b5 Error Data is in record data.
Type: Error
Event: 3
Date Time: 12/22/2004 3:10:18 PM
Source: Kerberos
ComputerName: NYCPBASP2418
Category: None
User: N/A
Description: A Kerberos Error Message was received: on logon
session Client Time: Server Time: 20:9:20.0000 12/22/2004 Z Error
Code: 0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN Extended Error: Client Realm:
Client Name: Server Realm: DBG.ADS.DB.COM Server Name:
host/nycpbasp2418.us.db.com Target Name:
host/nycpbasp2418.us.db.com@DBG.ADS.DB.COM Error Text: File: 9
Line: ab8 Error Data is in record data.
Type: Error
Event: 3
Date Time: 12/22/2004 3:10:22 PM
Source: Kerberos
ComputerName: NYCPBASP2418
Category: None
User: N/A
Description: A Kerberos Error Message was received: on logon
session svca_abcmsp@db.com Client Time: Server Time: 20:9:24.0000
12/22/2004 Z Error Code: 0x34 KRB_ERR_RESPONSE_TOO_BIG Extended
Error: Client Realm: Client Name: Server Realm: DBG.ADS.DB.COM
Server Name: krbtgt/DBG.ADS.DB.COM Target Name:
krbtgt/DBG.ADS.DB.COM@DBG.ADS.DB.COM Error Text: File: e Line: 6b5
Error Data is in record data.
Type: Error
Event: 3
Date Time: 12/22/2004 3:10:35 PM
Source: Kerberos
ComputerName: NYCPBASP2418
Category: None
User: N/A
Description: A Kerberos Error Message was received: on logon
session Client Time: Server Time: 20:9:37.0000 12/22/2004 Z Error
Code: 0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN Extended Error: Client Realm:
Client Name: Server Realm: DBG.ADS.DB.COM Server Name:
host/nycpbasp2418.us.db.com Target Name:
host/nycpbasp2418.us.db.com@DBG.ADS.DB.COM Error Text: File: 9
Line: ab8 Error Data is in record data.
Type: Error
Event: 3
Date Time: 12/22/2004 3:12:29 PM
Source: Kerberos
ComputerName: NYCPBASP2418
Category: None
User: N/A
Description: A Kerberos Error Message was received: on logon
session Client Time: Server Time: 20:11:47.0000 12/22/2004 Z Error
Code: 0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN Extended Error: Client Realm:
Client Name: Server Realm: DBG.ADS.DB.COM Server Name:
cifs/balppasd1009 Target Name: cifs/balppasd1009@DBG.ADS.DB.COM Error
Text: File: 9 Line: ab8 Error Data is in record data.
Type: Error
Event: 3
Date Time: 12/22/2004 3:12:29 PM
Source: Kerberos
ComputerName: NYCPBASP2418
Category: None
User: N/A
Description: A Kerberos Error Message was received: on logon
session NYCPBASP2418\Devadmin Client Time: Server Time:
20:11:47.0000 12/22/2004 Z Error Code: 0x18 KDC_ERR_PREAUTH_FAILED
Extended Error: Client Realm: Client Name: Server Realm: dbg
Server Name: krbtgt/dbg Target Name: krbtgt/dbg@dbg Error Text:
File: e Line: 6b5 Error Data is in record data.
Type: Error
Event: 3
Date Time: 12/22/2004 3:12:29 PM
Source: Kerberos
ComputerName: NYCPBASP2418
Category: None
User: N/A
Description: A Kerberos Error Message was received: on logon
session Client Time: Server Time: 20:11:47.0000 12/22/2004 Z Error
Code: 0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN Extended Error: Client Realm:
Client Name: Server Realm: DBG.ADS.DB.COM Server Name:
cifs/nycpbasd2411 Target Name: cifs/nycpbasd2411@DBG.ADS.DB.COM Error
Text: File: 9 Line: ab8 Error Data is in record data.
- I'm not so worried about the cifs/ SPNs, that's probably because the
account logged in to the service is a local admin account only, not a
domain account. I'm concerned with the 0x7 errors mentioning the host/
SPN.
- After seeing the log errors, I had a domain admin run
SETSPN -R nycpbasp2418
When I look at that computer account in ADSI Edit, I see the following
servicePrincipalNames:
HOST/nycpbasp2418$
HOST/nycpbasp2418$.DBG
I expected to see a FQDN there, so I wonder if this is part of the
problem. Or, should I have requested that the domain admin run SETSPN
-R svca_abcmsp instead?
I'd appreciate any help someone can render on this.
Vince
Sr. DBA, Deutsche Bank
- Next message: Kevin McDonnell [MSFT]: "Re: IIS, SQL DMZ question"
- Previous message: John Bell: "Re: To DMZ or not DMZ"
- Next in thread: Kevin McDonnell [MSFT]: "RE: Kerberos authentication problems"
- Reply: Kevin McDonnell [MSFT]: "RE: Kerberos authentication problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|