SharePoint Host Header输入用户名密码无法通过验证的解决办法

使用SharePoint配置host header,配置结束之后发现无法使用用户名密码验证通过,验证三次之后页面空白。ping hostname又可以正确的解析到IP。估计是本地机器解析host header的问题。于是上网搜了一下,找到以下解决办法。

Disable the loopback check (less-recommended method)

The second method is to disable the loopback check by setting the DisableLoopbackCheckregistry key.
To set the DisableLoopbackCheckregistry key, follow these steps:

  1. Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:

    281308 Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name

    Apply the following registry change to the file server. To do so, follow these steps:

    1. Start Registry Editor (Regedt32.exe).
    2. Locate and click the following key in the registry:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

    3. On the Edit menu, click Add Value, and then add the following registry value:

      Value name: DisableStrictNameChecking
      Data type: REG_DWORD
      Radix: Decimal
      Value: 1

  2. Click Start, click Run, type regedit, and then click OK.
  3. In Registry Editor, locate and then click the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

  4. Right-click Lsa, point to New, and then click DWORD Value.
  5. Type DisableLoopbackCheck, and then press ENTER.
  6. Right-click DisableLoopbackCheck, and then click Modify.
  7. In the Value data box, type 1, and then click OK.
  8. Quit Registry Editor, and then restart your computer.

参考文档:

http://support.microsoft.com/kb/896861

http://support.microsoft.com/kb/281308

posted on 2011-08-30 20:51  Fidel Lin  阅读(395)  评论(0)    收藏  举报