{"id":137,"date":"2010-08-07T10:41:13","date_gmt":"2010-08-07T09:41:13","guid":{"rendered":"http:\/\/www.mysticslayer.com\/?p=137"},"modified":"2010-08-07T10:41:13","modified_gmt":"2010-08-07T09:41:13","slug":"service-principal-names-kerberos-iis-7-0-and-error-401-the-requested-resource-requires-user-authentication","status":"publish","type":"post","link":"http:\/\/www.mysticslayer.com\/?p=137","title":{"rendered":"Service principal names, kerberos, IIS 7.0 and error 401: The requested resource requires user authentication"},"content":{"rendered":"<p>The last couple of days I was working at a customer where Kerberos was needed for SharePoint 2010. Of course I started to set the different Service Principal Names for my App Pool accounts, farm accounts, machines, etc. Not to hard to do it, but I ran everytime in a 401 error: The requsted resources requires user authentication.<br \/>\nStrange I thought, but yet I sended the Domain Administrator more commando&#8217;s and it didn&#8217;t help. So I checked everything, checked for duplicates, etc. Still I ran into these errors.<\/p>\n<p>After some search I found out that there are some problems with IIS 7.0 regarding Kerberos, and I needed to configure the applicationHost.config to solve these issues with Kerberos. enabled the kernel activation mode, etc. But, it didn&#8217;t  make any difference, rebooted several times, removed the Kernel Activation Mode and removed again the changed on the applicationHost.config.<\/p>\n<p>I knew that we&#8217;ve made C-Name records and it gave me a wonderfull idea to change the C-Name records to A records. These changes where applied, and wow, in less time as expected I opened IE and opened the different web apps. In less then a second the page was displayed from my web app. When you run in these problems, change your C-Name record to A-record and it will fix all your problems with SPN&#8217;s, Kerberos and IIS 7.0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The last couple of days I was working at a customer where Kerberos was needed for SharePoint 2010. Of course I started to set the different Service Principal Names for my App Pool accounts, farm accounts, machines, etc. Not to hard to do it, but I ran everytime in a 401 error: The requsted resources [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[266,224,118,230],"tags":[270,354,269,268,218,52,223,267,271,357],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-internet-information-services","category-sharepoint-2010","category-software","category-windows-server-2008","tag-error-401-the-requested-resource-requires-user-authentication","tag-iis","tag-iis-7-0","tag-kerberos","tag-mss-2010","tag-sharepoint","tag-sp2010","tag-spn","tag-win2k8","tag-windows-server-2008"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pe1EH-2d","_links":{"self":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137"}],"version-history":[{"count":1,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":138,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions\/138"}],"wp:attachment":[{"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mysticslayer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}