Note: This article was originally published in 2013. Some steps, commands, or software versions may have changed. Check the current Sharepoint 2013 documentation for the latest information.
In this step-by-step guide, you’ll learn give sharepoint 2013 crawler sufficient rights/permissions to crawl file shares. SharePoint 2013 introduced social features, improved search, cross-site publishing, and enhanced mobile browsing experiences.
Prerequisites
Before you begin, make sure you have:
- SharePoint Server 2013 or later
- Farm administrator or site collection admin access
- PowerShell with SharePoint snap-in
How to: Give (http://sharepoint.microsoft.com “Microsoft SharePoint”) 2013 (http://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 (http://www.microsoft.com/en-us/server-cloud/windows-server/default.aspx “Windows Server 2012”) server.
- You set up a (http://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 (http://en.wikipedia.org/wiki/Audit “Audit”) and security log’ privilege.
(<void(0);>)
To resolve this issue, assign the Manage Auditing And (http://en.wikipedia.org/wiki/Security_log “Security 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 ConfigurationWindows SettingsSecurity SettingsLocal PoliciesUser Rights Assignment
- In the right pane, locate and (http://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 (http://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 Security Log permission by using a (http://www.microsoft.com/grouppolicy “Group Policy”) (GPO), add the crawl account to the GPO.
Related articles
- (http://technology.bauzas.com/files/2013/03/151122076_80_80.jpg)](http://technology.bauzas.com/microsoft/servers/sharepoint/sharepoint-2013/how-to-enable-sharepoint-2013-central-administration-when-it-displays-http-error-503-the-service-is-unavailable/)(http://technology.bauzas.com/microsoft/servers/sharepoint/sharepoint-2013/how-to-enable-sharepoint-2013-central-administration-when-it-displays-http-error-503-the-service-is-unavailable/)
- (http://technology.bauzas.com/files/2013/03/151122076_80_80.jpg)](http://technology.bauzas.com/microsoft/servers/technologies-servers/authentication/how-to-enable-kerberos-authentication-on-a-sharepoint-2013-server/)(http://technology.bauzas.com/microsoft/servers/technologies-servers/authentication/how-to-enable-kerberos-authentication-on-a-sharepoint-2013-server/)
- (http://technology.bauzas.com/files/2013/03/150052170_80_80.jpg)](http://onpointwithsharepoint.wordpress.com/2013/02/15/what-else-is-new-in-sharepoint-2013-server/)(http://onpointwithsharepoint.wordpress.com/2013/02/15/what-else-is-new-in-sharepoint-2013-server/)
(http://img.zemanta.com/zemified_h.png?x-id=7825b326-9e04-4b1c-bab7-15425a5e794a)](http://www.zemanta.com/?px “Enhanced by Zemanta”)
Summary
You’ve successfully learned give sharepoint 2013 crawler sufficient rights/permissions to crawl file shares. If you run into any issues, double-check the prerequisites and ensure your Sharepoint 2013 environment is properly configured.