fidel-lin

使用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

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2022-01-10
  • 2021-08-02
  • 2021-10-18
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-11-22
  • 2022-01-05
相关资源
相似解决方案