Re: Cannot generate SSPI context and Windows 2000 service pack 4

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Bala Neerumalla[MSFT] (balnee_at_online.microsoft.com)
Date: 02/28/04

  • Next message: Bill Breitmayer: "Re: General Network Error - MS Stumped"
    Date: Fri, 27 Feb 2004 17:05:08 -0800
    
    

    This happens because of a Kerberos authentication protocol issue, I would
    suggest you to do the following things

    1. Enable Kerberos logging on the client machine (documented at
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;262177). Now try to
    connect to the remote SQL Server, if you get the same error message then
    check the SYSTEM eventlog. You would find Kerberos failure events which give
    you good information about what went wrong.

    2. If there are no Kerberos errors on the client machines, you could be
    having some error messages on the APPLICATION eventlog of the SQL Server
    machine which will say that the SQL Server couldnot decrypt the login
    packets from the clients which implies that there are multiple SPNs
    registered and the AD picked a wrong one. You can find all the registered
    SPNs in your AD by using the command

    ldifde -d "CN=Users,DC=betaland" -l servicePrincipalName -F
    NewoutputUsers.txt

    and then clean up the redundant ones. This is explained in
    http://support.microsoft.com/?id=319723

    Thanks,
    Bala.

    -- 
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Use of included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm
    "Nigel Williams" <nwilliams@fictitious.kom> wrote in message
    news:DE140101-7F0E-4AE1-86DC-626028B66D5D@microsoft.com...
    > We have had two instances of installing Windows 2000 Service Pack 4 [*] on
    machines running SQL Server 2000 SP3a+HF and subsequently seeing errors from
    SQL Server client tools (QA and Enterprise Manager):
    >
    >     Cannot generate SSPI context
    >
    > SETSPN -L shows a valid service principle name, and the other options in
    KB 811889 have been tried. We are using a domain user account as the service
    account for SQL Server.
    >
    > What else can we look for to resolve this problem please?
    >
    >
    > [*] re-building the machine with SP3 and the problem does not appear. We
    need W2K SP4 for SQL Server Reporting Services.
    >
    >
    

  • Next message: Bill Breitmayer: "Re: General Network Error - MS Stumped"

    Relevant Pages

    • RE: Qry Analyzer Debug broken: XP SP2
      ... The reason for Error 508 and Error code 0x80070005 is ... How to configure Windows XP Service Pack 2 for use with SQL Server ... The error code 0x800706ba translates to "RPC server ... unchecked on the client machine, this is a default setting that is checked. ...
      (microsoft.public.sqlserver.server)
    • Re: View Type of Protocol
      ... Thanks a lot for the feedback John. ... information about the type of authentication being used. ... some reason Kerberos is not available. ... they are not authenticated and the SQL Server login fails. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Kerberos and ASP NET application
      ... First time poster to this group,and this is my first experience ... looking into the intricacies of Kerberos. ... NTLM and the SQL server won't let them in (ERROR message ... client is IE7 on Win XP SP2 - and enable integrated authentication ...
      (microsoft.public.inetserver.iis.security)
    • Re: sql2005/linked server+imperonate
      ... When you go from the first SQL Server to the second SQL ... Active Directory attempts to use Kerberos as the authentication method first. ... so through delegation, but you have to do some setup. ...
      (microsoft.public.de.sqlserver)
    • Re: Kerberos w/ SQL and WIN2000
      ... Could you tell me what you changed in the SPN registration? ... > I found the following KB useful in troubleshooting Kerberos issues ... > the SPN for the SQL Server which made me go back and edit the ... > Jasper Smith (SQL Server MVP) ...
      (microsoft.public.sqlserver.security)