Re: sql2005/linked server+imperonate
- From: "Christoph Muthmann" <c.muthmann@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Apr 2006 08:45:50 +0200
Christoph Muthmann wrote:
Juergen KLOIMSTEIN wrote:
[Probleme mit Verbindungsserver]
Hallo Juergen,
ohne Gewähr und von mir noch nicht ausprobiert ein Posting von http://sqlservercentral.com:
This sounds like a "double-hop" issue. When a client goes from the workstation to the first
SQL Server, that's the first hop. When you go from the first SQL Server to the second SQL
Server, that's the second hop. Under NT4.0, the only authentication method allowed is
NTLM. NTLM did NOT allow double-hops. We used to see these issues all the time before folks
started converting to Active Directory.
Active Directory attempts to use Kerberos as the authentication method first. Failing that
it drops back to NTLM to support legacy clients. However, unless you specifically make
some configuration settings, Kerberos does NOT allow double-hops, either. Kerberos does do
so through delegation, but you have to do some setup. Here are the basic steps, but
before going through them, make sure everyone involved has read the appropriate documentation
on Kerberos delegation. Kerberos delegation adds risk to your security posture and should
not be done haphazardly.
1) You have to configure the first SQL Server as being allowed to delegate. This needs to
be done by your directory (domain) admin. In Windows 2000 Active Directory it's simply a
checkbox. In Windows 2003 Active Directory there's the concept of constrained delegation
and so there a whole lot more settings.
2) You have to configure the service account on the first SQL Server to be allowed to
delegate. You also need this done by your directory (domain) admin. There is an option
under the Account tab saying "Account is trusted for delegation" that must be checked.
3) The SPNs on the SQL Servers must be set properly. Here's a knowledgebase article that
details how to do it. Again, directory (domain) admin help needed.
http://support.microsoft.com/?id=319723
How to use Kerberos authentication in SQL Server (319723)
There are additional articles that may provide some help:
http://support.microsoft.com/kb/811889/en-us
How to troubleshoot the "Cannot generate SSPI context" error message (811889)
http://support.microsoft.com/kb/909801/en-us
How to make sure that you are using Kerberos authentication when you create a remote connection to an instance of SQL Server 2005 (909801)
Oh, and one more thing... kerbtray is your friend when troubleshooting.
Lass von Dir hören, was draus geworden ist!
Gruß Christoph
--
(Please post ALL replies to the newsgroup only unless indicated otherwise)
.
- Follow-Ups:
- Antwort: Re: sql2005/linked server+imperonate
- From: juergen
- Antwort: Re: sql2005/linked server+imperonate
- References:
- Re: sql2005/linked server+imperonate
- From: Christoph Muthmann
- Re: sql2005/linked server+imperonate
- Prev by Date: Re: vachar wird in views bei 256 Zeichen abgeschnitten
- Next by Date: Datum nachträglich ändern
- Previous by thread: Re: sql2005/linked server+imperonate
- Next by thread: Antwort: Re: sql2005/linked server+imperonate
- Index(es):
Relevant Pages
|