Technical Speaking

Trying to make life easier for SharePoint people
posts - 58, comments - 60, trackbacks - 2

My Links

News


MJ Ferdous

MJ Ferdous is an IT professional from 7 years ago.

He is Technical Project Manager of Congral LLC, USA and SharePoint Consultant as well. He has industry level experience on SharePoint Server (MOSS 2007/2010) and did lots of Presentation & workshop on SharePoint.

He did work in OT Group SPA,Italy as SharePoint Consultant. He did lot of international projects during his professional life. For example: Software development for Internet Banking Portal, TCI on Canadian tourism sector, Rockwell MES solution for international pharmaceuticals companies and so on. He is the author of several technical article.

He is also Technical Author of DevMedia Group(Mrbool.com) as well as owner & modaretor of several groups of sharepoint and asp.net.. Looking for a Offshore Development partnership.............. in ASP.Net & Sharepoint 2007,2010.

invisible hit counter View My Stats

Tag Cloud

Article Categories

Archives

Post Categories

Image Galleries

Blogs [MVP]

My Articles

My Others Link

Public Speaking

Thursday, January 06, 2011

Authentication Error with SharePoint Application which uses Host Header on the Server firm

This is known issue with SharePoint 2007 or SharePoint 2010 on Windows Server 2008 platform and not specific to any sharepoint application.

Problem: Your windows credential doesn’t work if you try to log in to the web application (http://contosto.company.com) on the server itself although you can access the same site from outside, when you create a SharePoint web application with a host header (contosto.company.com) on SharePoint Server (Server Name: contosto) which is installed on Windows Server 2008. This problem is happening with the recent patches.

image

If you check the event viewer logs on “Security” category, you will see something like the one below under Audit Failure Keyword

image

The main reason for this issue is Windows includes a loopback check security feature that helps prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name as the system blocks the authentication procedure while resolving the host header given to the web application.

To resolve this issue, a modification must be done to the server's registry to specify the host name. To specify the host names that are mapped to the loopback address and that can connect to Web sites on your computer, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  3. Right-click MSV1_0, point to New, and then click Multi-String Value.
  4. Type BackConnectionHostNames, and then press ENTER.
  5. Right-click BackConnectionHostNames, and then click Modify.
  6. In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
  7. Exit Registry Editor, and then restart the computer.

image

The name placeholder is considered a host header. It is an alternative name for the computer on which Reporting Services is installed. You must add the NetBIOS and the Fully Qualified Domain Name (FQDN) for name to the BackConnectionHostNames list that is stored in the Windows registry.
For example, if name is a Windows computer name, such as contoso, the name can likely also be referenced in FQDN form as contoso.domain.com. You must add both representations to the list in BackConnectionHostNames.

So, The above registry modification must be done for all other SharePoint applications which are using Host Header.

Reference:

 You receive an error message when you use SQL Server 2008 Reporting Services: "HTTP 401.1 - Unauthorized: Logon Failed"

Posted On Thursday, January 06, 2011 1:13 AM | Feedback (0) | Filed Under [ Sharepoint 2007 Microsoft Office SharePoint Server 2007 SharePoint 2010 ]

Powered by: