Re: kerberos SQL service accounts
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Feb 2009 12:13:43 -0600
Also, on the delegation question, you only need to enable delegation on the SQL service account if SQL will be making a call to a remote system on behalf of a remote user it is impersonating.
It is much more common to have a web front end require delegation rights to allow it to query SQL on a user's behalf, but it is certainly possible that SQL itself might make such a remote call to another backend.
I suggest you make sure they tell you what they need to delegate to. You can enforce this in your own policy by using constrained delegation exclusively (you are 2003 native, so this is available). Constrained delegation says that a service can only delegate to other specific services (based on the SPN of the target). It is much more secure than unconstrained delegation (the only method available in Win2K) and is also self-documenting in that once you have configured it, you are certain to know exactly what services are delegating to what other services and are certain that they cannot delegate to anything but those services.
In some cases, unconstrained my really be necessary, but in most cases constrained should be possible. Make them figure what they need to delegate to.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"skip" <shofmann@xxxxxxx> wrote in message news:9F3952AB-EBD1-400D-AD16-F378D0BA364D@xxxxxxxxxxxxxxxx
Hello all
The AD forest and domain are at windows 2003 native mode. The SQL DBA's are being asked to change all SQL service accounts from local system to a domain user account. My question is and if this is not the correct forum for this please politely let me know. Once the SQL service account is changed from local system to a domain user account does SQL start using kerberos authentication? Does the spn for the domain account get registerd in AD automatically? If i have a SQL cluster that has several SQL instance or virtual servers that are running on one of the pyhsical node's in the cluster, what spn gets registered in AD? I would think i would need to regsiter a SPN for the service account that is running on the SQL virtual server or instance and not the physical node?
Example physical node name is irv-idc-ms11 SQL virtual server running on physical node is irv-idc-vs11. Service account name is sqladmin. If i did a query on the service account name (sqladmin) using setspn then if this is correct the output from the command should look like
"MSSQLSvc/irv-idc-vs11"
Last question Delegation. If the SPN's are registered correctly for the service account why must i enable delegation on the service account in AD?
Many thanks for any guidance on this
.
- Follow-Ups:
- Re: kerberos SQL service accounts
- From: skip
- Re: kerberos SQL service accounts
- References:
- kerberos SQL service accounts
- From: skip
- kerberos SQL service accounts
- Prev by Date: Re: kerberos SQL service accounts
- Next by Date: Re: ADAM and default ACEs for custom schema
- Previous by thread: Re: kerberos SQL service accounts
- Next by thread: Re: kerberos SQL service accounts
- Index(es):
Relevant Pages
|
Loading