Setting Up Kerberos Authentication for SharePoint
From WSSWiki
Setting up Kerberos can be a difficult task for anybody that has never done it before. This article will hopefully assist you in configuring your SharePoint environment to use Kerberos as opposed to NTLM.
Contents |
[edit] Sample Scenario
The following section will outline some server names, urls, account names, etc that will help understand the upcoming sections.
[edit] Server Direct
| Server Name: | Server01 |
|---|---|
| SharePoint URL: | http://Server01 |
| Application Pool Account: | DOMAIN\spsadmin |
[edit] Using Host Headers
| Server Name: | Server01 |
|---|---|
| SharePoint URL: | http://portal.company.com |
| Application Pool Account: | DOMAIN\spsadmin |
[edit] Creating Service Principal Names (SPNs)
The following outlines the process of creating the necessary SPNs that will be required before Kerberos will function.
You can download SETSPN.EXE from http://support.microsoft.com/kb/892777/.
Execute the following commands (substitute the URLs and account names with your own):
Server Direct
setspn -a http/Server01 DOMAIN\spsadmin
Using Host Headers
setspn -a http/portal.company.com DOMAIN\spsadmin
[edit] Trusted for Delegation
The account running the application pool must be trusted for delegation in order for Kerberos to work. To do this, follow these steps:
- On the domain controller, open Active Directory Users and Computers.
- Locate the account, DOMAIN\spsadmin, that is running your application pool.
- Right-click on the account and click Properties.
- Click the Delegation tab and then insure Trust this user/computer for delegation to any service is checked.
- Click OK.
[edit] Configure Central Administration
To configure Kerberos authentication on a web application, follow these steps:
- Start SharePoint 3.0 Central Administration
- Click the Application Management tab and select Authentication Providers.
- Select the web application you want to change (http://server01 or http://portal.company.com) from the Web Application list.
- Click the Zone that you want.
- Select Kerberos in the Edit Authentication page.
- Click OK to apply the changes.
[edit] Enable Kerberos for Shared Service Provider (SSP)
- Open a command prompt and navigate to your 12 Hive folder.
- Run:
STSADM -o SetSharedWebServiceAuthn -negotiate
[edit] Troubleshooting
[edit] External Links
- How to configure a Windows SharePoint Services virtual server to use Kerberos authentication and how to switch from Kerberos authentication back to NTLM authentication
- A Marvellous Point / Configuring Kerberos for SharePoint 2007: Part 1
- Liam Cleary (MVP SharePoint) / MOSS2007 – Configuration process for Kerberos Authentication
