Re: Kerberos w/ SQL and WIN2000
From: --Charles Johnson (cjohnson@parmedpharn.com)
Date: 04/17/03
- Next message: Andrew J. Kelly: "Re: Generate sql script for encrypted stored procedures"
- Previous message: Nhan Duong: "Generate sql script for encrypted stored procedures"
- In reply to: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Next in thread: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Reply: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Reply: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "--Charles Johnson" <cjohnson@parmedpharn.com> Date: Thu, 17 Apr 2003 07:55:17 -0400
Jasper,
I appreciate the reply. I'm glad to know that it works for you. I've been
through the two links you sent, but I will march on through them again today
on a test server. Hopefully it will work.
Could you tell me what you changed in the SPN registration?
--Charles
"Jasper Smith" <jasper_smith9@hotmail.com> wrote in message
news:uSU0WUGBDHA.1600@TK2MSFTNGP10.phx.gbl...
> Have a look at
> http://support.microsoft.com/default.aspx?scid=kb;en-us;811889
>
> I've recently been doing some work with Kerberos and SQL for
> use in Linked server security delegation and had some problems
> but found that when I went back to a clean config and started
> from scratch with the SPN's everything worked as advertised.
> I found the following KB useful in troubleshooting Kerberos issues
> in that the logging allowed me to see that the client couldn't resolve
> the SPN for the SQL Server which made me go back and edit the
> SPN so that it was in the correct format.
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;262177
>
> This was in a native mode win2000 AD domain but I don't think
> that is a requirement. Kerberos is the default for win2000 and
> unless you are trying to use delegation I don't think you have to set
> anything up for it to use it. Can you confirm that the server is trusted
> for delegation and also the SQL Service account and the command
> you used to set the SPN for the service account. If you switch on
> security auditing for logon in windows if it's not already configured
> you'll be able to see if clients are using Kerberos to connect (that was
> the problem I had, Kerberos was failing silently and authentication
> dropped down to NTLM but since the connection still worked I didn't
> pick it up until I enable auditing on the client and saw the Kerberos
> errors)
>
>
> --
> HTH
>
> Jasper Smith (SQL Server MVP)
>
> I support PASS - the definitive, global
> community for SQL Server professionals -
> http://www.sqlpass.org
>
> "--Charles Johnson" <cjohnson@parmedpharn.com> wrote in message
> news:uaSS3kFBDHA.2572@TK2MSFTNGP11.phx.gbl...
> > Greetings!!
> >
> > One of the great selling points Microsoft used in convincing me to move
to
> > Windows 2000 was that the OS uses a more secure authentication mechanism
> > known as Kerberos. Did I hear that wrong?
> >
> > It appears that in order to use Kerberos, the account running the SQL
> > services must be Local system or Domain Admin. Failing that, you need to
> > use the SETSPN utility from the resource kit.
> >
> > Trouble is this: When I added the Service Provider Name using the
utility,
> > all clients (all 2kPro sp2) could no longer connect, and all received
> > "Cannot generate SSPI context" error messages.
> >
> > NETDIAG shows that everything short of SPN tests are running fine, DNS
and
> > Domain included. Google shows many many issues with this error, most
> > unresolved.
> >
> > I'm not looking for a definitive solution, but I would like to hear from
> > others with similar environments. Are you running Kerberos
authentication
> or
> > NTLM? Did you have to setup the SPN using SETSPN or are you running SQL
> > under LA or DA privileges? Do I need to switch my 2k domain for Native
to
> > get this working?
> >
> > I appreciate your input!
> >
> > Thank you
> >
> > --Charles
> >
> >
>
>
- Next message: Andrew J. Kelly: "Re: Generate sql script for encrypted stored procedures"
- Previous message: Nhan Duong: "Generate sql script for encrypted stored procedures"
- In reply to: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Next in thread: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Reply: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Reply: Jasper Smith: "Re: Kerberos w/ SQL and WIN2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|