K2 – General rules for configuring kerberos delegation
By peter.stilgoe
A good set of rules from K2underground:
1. Kerberos delegation should be configured for each of the following services:
a. K2 server
b. K2 workspace
c. SharePoint – Sites that will interact with K2 and also your Central admin site
d. SQL reporting services
e. SQL server
2. SPNs needed (you should always create SPNs for both the Fully Qualified Domain name (FQDN) and the NetBIOS name of each service:
a. K2 server – When you run a K2 farm please remember that you will need to set the below settings for each server in the farm as well as the farm name itself (Therefore [MachineNameForServer1] can be = to [MachineNameForServer2] etc. or [FarmName]
i. setspn -A K2Server/[MachineNameForServer1]:5252 domain\K2 Service Account domain\K2 Service Account
ii. setspn -A K2Server/[MachineNameForServer1]:5252 domain\K2 Service Account
iii. setspn -A K2HostServer/[MachineNameForServer1]:5555 domain\K2 Service Account domain\K2 Service Account
iv. setspn -A K2HostServer/[MachineNameForServer1]:5555 domain\K2 Service Account domain\K2 Service Account
b. K2 workspace: The best implementation is to use host headers for site names. If you do want to use http://machinename:port, make sure that you don’t have multiple Application pool identities for different sites on the same IIS server and don’t include the port number in the SPN. Best way to avoid that is to use Host headers (A type or Host type DNS record and not CNAME)
i. setspn -A HTTP/K2WSSiteName domain\K2 Workspace Site Application pool identity
ii. setspn -A HTTP/K2WSSiteName.FQDN domain\K2 Workspace Site Application pool identity
c. SharePoint – Sites that will interact with K2 and also your Central admin site. The best implementation is to use hostheaders for site names. If you do want to use http://machinename:port, make sure that you don’t have multiple Application pool identities for different sites on the same IIS server. Best way to avoid that is to use Hostheaders (A type or Host type DNS record and not CNAME)
i. setspn -A HTTP/SharePointSiteName domain\SharePointSite Application pool identity
ii. setspn -A HTTP/SharePointSiteName.FQDN domain\SharePoint Site Application pool identity
iii. setspn -A HTTP/SharePointCentralAdminSiteName domain\SharePointCentralAdmin Application pool identity
iv. setspn -A HTTP/SharePointCentralAdminSiteName.FQDN domain\SharePointCentralAdmin Site Application pool identity
d. SQL reporting services:
i. setspn -A HTTP/SSRSSiteName domain\SSRS Application pool identity
ii. setspn -A HTTP/SSRSSiteName.FQDN domain\SSRS Site Application pool identity
e. SQL Server – please see SQL server documentation for the correct SPN value
3. Check your system for duplicate SPNs. This is a very important step to take. With Windows 2003 there is not any clean or easy way to check this, accept to make a dump of the SPNs in your AD structure and manually checking for duplicate values. With Windows 2008 you can run the following command to check for duplicate values: setspn –x
4. Make sure that each the mentioned accounts above has permissions to delegate to any service (less secure, but most simple way of configuring)
5. Set the NTAuthenticationProviders node to Negotiate,NTLM for each IIS site as noted above on each IIS server (If farming K2 workspace, SharePoint or SSRS make sure to set this on each machine where the site exists) PS. These steps only apply to IIS 6.0
6. Change Authentication per SharePoint site in SharePoint Central Admin to allow for Negotiate
7. Remember to always perform an IIS reset if you make any such changes to any of your sites and restart your services.
Tag Cloud
Recent Posts
- K2 Blackpoint K2 Blackpearl does not support single sign on authentication
- K2 4.5 Release Candidate Is Now Available
- External User Not Recieving Sharepoint Alerts
- Import Excel 2007 Spreadsheet as Sharepoint List Error Method ‘post’ of object ‘IOWSPostData’ failed
- Sharepoint 2010 User Profile Synchronization Service stuck on starting
Categories
- Access
- ACT
- Affiliate Marketing
- Analytics & Tracking
- Autodesk Inventor / Vault
- AvePoint
- BDC
- Blackberry / BES
- Business & Entrepreneurship
- Business Intelligence
- CNC
- Content Editor Webpart
- Content Query Webpart
- Document Imaging
- Document Management
- Domain Name Investing
- Email Marketing
- Enterprise Content Management
- Enterprise Search
- Firewalls
- Forms Server
- IIS
- InfoPath
- Information Architechture
- Internet Marketing
- Javascript
- JQuery
- K2 Blackpearl
- K2 Blackpoint
- Kerberos
- KnowledgeLake
- Making Money
- Microsoft Dynamics CRM
- Micross / Omnis
- Misc
- MS Exchange
- MS Office
- NHS Sharepoint
- Novell Netware
- Oracle
- Pay Per Click
- Perofrmance Tuning
- Powerpivot
- Records Management
- Relex Studio
- Sharepoint / MOSS / WSS
- Sharepoint 2010
- Sharepoint Alerts
- Sharepoint Calculated Columns
- Sharepoint Content Types
- Sharepoint Customisation
- Sharepoint Designer
- Sharepoint Errors
- Sharepoint IA
- Sharepoint Layouts
- Sharepoint Lists
- Sharepoint Lookup Columns
- Sharepoint Publishing Sites
- Sharepoint Search
- Sharepoint Security
- Sharepoint SSP
- Sharepoint Surveys
- Sharepoint Updates
- Sharepoint User Profiles
- Sharepoint Views
- Sharepoint Webparts
- Sharepoint Workflows
- SMTP
- SQL Server
- SSO
- Symantec
- Taxonomy
- Video Conferencing
- Virtualization
- Windows / Active Directory
- Windows Server 2008
- Windows Vista
- xml
Archive
- March 2010 (5)
- February 2010 (4)
- January 2010 (8)
- December 2009 (2)
- November 2009 (6)
- October 2009 (7)
- September 2009 (11)
- August 2009 (14)
- July 2009 (4)
- June 2009 (2)
- April 2009 (1)
- March 2009 (5)
- February 2009 (2)
- January 2009 (4)
- December 2008 (5)
- November 2008 (14)
- October 2008 (17)
- September 2008 (10)
- August 2008 (14)
- July 2008 (10)
- June 2008 (4)
- May 2008 (2)
- April 2008 (12)
- March 2008 (19)
- February 2008 (5)
- January 2008 (7)
- December 2007 (2)
- November 2007 (14)
- October 2007 (7)
- September 2007 (1)
- August 2007 (4)
- July 2007 (18)
- June 2007 (14)
- May 2007 (13)
- April 2007 (4)
- March 2007 (3)
- February 2007 (3)
- January 2007 (2)
- December 2006 (2)
- November 2006 (2)
- October 2006 (13)
- September 2006 (7)
- August 2006 (7)
- July 2006 (4)
- June 2006 (1)
- May 2006 (5)
- April 2006 (3)
- March 2006 (6)
- February 2006 (2)
- January 2006 (3)



August 21st, 2009
