Using Kerberos authentication for SQL Server 2008

Posted by vivek m on Stack Overflow See other posts from Stack Overflow or by vivek m
Published on 2010-06-06T18:49:15Z Indexed on 2010/06/06 18:52 UTC
Read the original article Hit count: 240

Filed under:

I am trying to configure my SQL Server to use Kerberos authentication.

My setup is like this - My setup is like this- I have 2 virtual PCs in a Windows XP Pro SP3 host. Both VPCs are Windows Server 2003 R2. One VPC acts as the DC, DNS Server, DHCP server, has Active Directory installed and the SQL Server default instance is also running on this VPC. The second VPC is the domain member and it acts as the SQL Server client machine.

I configured the SPN on the SQL Server service account to get the Kerberos working.

On the client VPC it seems like it is using Kerberos authentication (as desired)-

C:\Documents and Settings\administrator.SHAREPOINTSVC>sqlcmd -S vm-winsrvr2003
1> select auth_scheme from sys.dm_exec_connections where session_id=@@spid
2> go
auth_scheme
----------------------------------------
KERBEROS

(1 rows affected)
1>

but on the server computer (where the SQL Server instance is actually running) it looks like it is still using NTLM authentication- . This is not a remote instance, the sql server is local to this machine.

C:\Documents and Settings\Administrator>sqlcmd
1> select auth_scheme from sys.dm_exec_connections where session_id=@@spid
2> go
auth_scheme
----------------------------------------
NTLM

(1 rows affected)
1>

What can i do so that it uses Kerberos on the server computer as well ? (or is this something that I should not expect)

© Stack Overflow or respective owner

Related posts about kerberos