變更用於編目 SharePoint Server 中的預設帳戶Change the default account for crawling in SharePoint Server

摘要:變更的使用者名稱或 SharePoint Server 2016 或 SharePoint Server 2013 Search service 預設針對編目使用之帳戶的密碼。Summary: Change the user name or password of the account that the SharePoint Server 2016 or SharePoint Server 2013 Search service uses by default for crawling.

SharePoint Server 搜尋服務使用之帳戶的預設編目會呼叫預設內容存取帳戶。必須是網域帳戶使用是在 Active Directory 網域服務 (AD DS) 中目前的密碼。如果這個網域帳戶的密碼到期時,不能夠使用的帳戶來編目內容的搜尋服務。The account that the SharePoint Server Search service uses by default for crawling is called the default content access account. It must be a domain account with a password that is current in Active Directory Domain Services (AD DS). If the password of this domain account expires, the Search service is not able to use the account to crawl content.

預設的內容存取帳戶密碼在 AD DS 中,與網域帳戶密碼之間存在另兩種相依性:The password of the default content access account has two additional dependencies on the domain account password in AD DS:

  • 如果您變更 AD DS 中之帳戶的密碼,您必須在 SharePoint Server 進行相同的預設內容存取帳戶的密碼變更。If you change the password of the account in AD DS, you must make the same change for the password of the default content access account in SharePoint Server.

  • 如果您想要變更 SharePoint Server 中的預設內容存取帳戶的密碼,您必須先變更 AD DS 中的密碼。這是因為對那些 AD DS 中檢查有您輸入的 SharePoint Server 中的預設內容存取帳戶的認證。如果輸入新密碼的預設內容存取帳戶之前變更帳戶密碼在 AD DS 中,將會產生錯誤並將不會變更預設內容存取帳戶的密碼。If you want to change the password of the default content access account in SharePoint Server, you must first change the password in AD DS. This is because the credentials that you enter for the default content access account in SharePoint Server are checked against those in AD DS. If you enter a new password for the default content access account before the account password is changed in AD DS, an error will result and the password of the default content access account will not be changed.

下列程序變更的使用者名稱和密碼的預設內容存取帳戶。您可以使用編目規則來編目特定 Url 指定不同的帳戶。如果您在 [編目規則指定不同的帳戶與您想要變更該帳戶的密碼,您必須變更之編目規則。如需詳細資訊,請參閱 < Manage crawl in SharePoint Server 的規則The following procedure changes the user name and password for the default content access account. You can specify a different account for crawling particular URLs by using a crawl rule. If you specify a different account in a crawl rule and you want to change the password of that account, you must change the crawl rule. For more information, see Manage crawl rules in SharePoint Server.

若要變更預設內容存取帳戶To change the default content access account

  1. 確認執行此程序的帳戶是要設定的 Search Service 應用程式的服務應用程式管理員。Verify that the account that performs this procedure is a service application administrator for the Search service application that you want to configure.

  2. 在管理中心中,按一下 [應用程式管理] 區段的 [管理服務應用程式]。In Central Administration, in the Application Management section, click Manage service applications.

  3. 在 [管理服務應用程式] 頁面,按一下要變更預設內容存取帳戶的 Search Service 應用程式。On the Manage Service Applications page, click the Search service application for which you want to change the default content access account.

  4. 在 [搜尋管理] 頁面上的 [系統狀態] 區段中的搜尋服務應用程式尋找預設內容存取帳戶,這是格式_為網域 _。On the Search Administration page for the Search service application, in the System Status section, find the Default content access account, which is of the form Domain\UserName.

    「搜尋管理」頁面上「系統狀態」區段中預設內容存取帳戶的螢幕擷取畫面

  5. 按一下 [預設內容存取帳戶名稱。預設內容存取帳戶] 對話方塊隨即出現。Click the default content access account name. The Default Content Access Account dialog box appears.

  6. (選用)在 [帳戶] 文字方塊中輸入新的使用者名稱。(Optional) In the Account text box, type a new user name.

  7. 在 [密碼] 文字方塊中及 [確認密碼] 文字方塊中,輸入新密碼,並再按一下 [確定]In the Password text box and in the Confirm Password text box, type the new password, and then click OK.

另請參閱See also

建立及設定 Search service 應用程式在 SharePoint Server 2016Create and configure a Search service application in SharePoint Server 2016

管理 SharePoint Server 中的編目規則Manage crawl rules in SharePoint Server