<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://goxia.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://goxia.maytide.net/read.php/1559.htm</link>
<title><![CDATA[[SBS] HOWTO: 修改并同步 SBS2011 的 SharePoint 账号密码]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Windows Server]]></category>
<pubDate>Tue, 21 Feb 2012 04:22:21 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1559.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/SBS-Windows-Small-Business-Server-2011-S_13B83/SBS2011Standard.png"><img title="SBS2011Standard" border="0" alt="SBS2011Standard" src="http://goxia.maytide.net/ftpupfiles/SBS-Windows-Small-Business-Server-2011-S_13B83/SBS2011Standard_thumb.png" width="240" height="59"></a> <font color="#fd3f0d" size="4"><strong>HOWTO: 修改并同步 SBS2011 的 SharePoint 账号密码</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在 Windows Small Business Server 2011（SBS2011）中，系统会自动创建三个账号用于 SharePoint 服务，它们是：spfarm,、spsearch 和 spwebapp。用户会因为安全或维护等因素去修改其密码，那么就会导致出现 AD 内设置账号的密码与 SharePoint 无法同步的问题，而会引发服务故障。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 就遇到了类似问题，需要重置三个账号的密码。幸好在微软 SBS 官方 Blog 给出了解决办法。要检查账号是否同步可以打开 SharePoint 2010 Management Shell，然后使用“<font style="background-color: #ffff00"><strong>Repair-SPManagedAccountDeployment</strong></font>”命令进行检查。如果账号密码没有同步，会给类似下图的警告，并会提示使用“<font style="background-color: #ffff00"><strong>Set-SPManagedAccount –UseExistingPassword</strong></font>”命令行修复。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBS-_9D90/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SBS-_9D90/image_thumb.png" width="644" height="219"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为了重新修改并同步这些账号的密码，首先需要使用 ADUC 重置账号密码，注意：务必清除“用户下次登录时须更改密码”的选项。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBS-_9D90/image_3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SBS-_9D90/image_thumb_3.png" width="388" height="235"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;然后打开 SharePoint 2010 Management Shell 执行“Set-SPManagedAccount –UseExistingPassword”，根据提示键入账号（domainusername）及密码，如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SBS-_9D90/image_4.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SBS-_9D90/image_thumb_4.png" width="644" height="248"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后我们可以再次运行“Repair-SPManagedAccountDeployment”检查账号密码是否已经同步。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/small/" rel="tag">small</a> , <a href="https://goxia.maytide.net/go.php/tags/business/" rel="tag">business</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/sbs/" rel="tag">sbs</a> , <a href="https://goxia.maytide.net/go.php/tags/2011/" rel="tag">2011</a> , <a href="https://goxia.maytide.net/go.php/tags/sharepoint/" rel="tag">sharepoint</a> , <a href="https://goxia.maytide.net/go.php/tags/2010/" rel="tag">2010</a> , <a href="https://goxia.maytide.net/go.php/tags/powershell/" rel="tag">powershell</a> , <a href="https://goxia.maytide.net/go.php/tags/spfarm/" rel="tag">spfarm</a> , <a href="https://goxia.maytide.net/go.php/tags/spsearch/" rel="tag">spsearch</a> , <a href="https://goxia.maytide.net/go.php/tags/spwebapp/" rel="tag">spwebapp</a>
]]>
</description>
</item>
</channel>
</rss>