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:
- 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:- Start Registry Editor (Regedt32.exe).
- Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
- 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
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor, and then restart your computer.
参考文档:
浙公网安备 33010602011771号