TL;DR — Resumen Rápido
Learn how to give sharepoint 2013 crawler sufficient rights/permissions to crawl file shares. Step-by-step guide with examples.
Nota: Este artículo fue publicado originalmente en 2013. Algunos pasos, comandos o versiones de software pueden haber cambiado. Consulta la documentación actual de Sharepoint 2013 para la información más reciente.
Requisitos Previos
Antes de comenzar, asegúrate de tener:
- SharePoint Server 2013 or later
- Farm administrator or site collection admin access
- PowerShell with SharePoint snap-in
How to: Give (https://sharepoint.microsoft.com “Microsoft SharePoint”) 2013 (https://en.wikipedia.org/wiki/Web_crawler “Web crawler”) sufficient rights/permissions to crawl file shares
(<void(0);>)
Consider the following scenario:
- You create file shares on a (https://www.microsoft.com/en-us/server-cloud/windows-server/default.aspx “Windows Server 2012”) server.
- You set up a (https://www.microsoft.com “Microsoft”) SharePoint 2013 crawler on the file shares, and you assign Read permissions to the crawler.
- You crawl the file shares by using SharePoint Server 2013.
- You search for a file in the file shares by using SharePoint Server 2013.
In this scenario, no search result is returned. Additionally, the following error message is generated in the crawl log:
The crawl account did not have sufficient privileges to access the security attributes of this file or folder. Ensure the crawl account has the ‘Manage (https://en.wikipedia.org/wiki/Audit “Audit”) and security log’ privilege.
(<void(0);>)
To resolve this issue, assign the Manage Auditing And (https://en.wikipedia.org/wiki/Seguridad_log “Seguridad log”) permission to the SharePoint 2013 crawler. To do this, follow these steps on the computer that hosts the file shares:
- Click Start , click Run , type gpedit.msc, and then click OK.
- Navigate to the following location in the Local Group Policy Editor:
Computer ConfiguraciónWindows SettingsSeguridad SettingsLocal PoliciesUser Rights Assignment
- In the right pane, locate and (https://en.wikipedia.org/wiki/Context_menu “Context menu”) Manage auditing and security log , and then click Properties.
- Click the Add User or Group button in the Manage auditing and security log properties (https://en.wikipedia.org/wiki/Dialog_box “Dialog box”), and then add the crawl account that the SharePoint 2013 crawler uses.
- Click OK in the Manage auditing and security log properties dialog box.
Note If you assign the Manage Auditing And Seguridad Log permission by using a (https://www.microsoft.com/grouppolicy “Group Policy”) (GPO), add the crawl account to the GPO.