I have a shared drive on the network willing to expose to sharepoint so the users will be able to searcch its content from sharepoint.
1 Answer
You can add a new content source and specify to index a file share here (Search Service Application > Content Sources > New Content Source). 
Make sure that your default content access account has access to that share/folders as well. 
In case you want / need to provide a different account to crawl this share you can specify one within the Crawl Rules (Search Service Application > Crawl Rules)
Make sure that the permissions within the share and all of its (sub-)folders are correct since indexing a file share can make it much easier for people to find files that they normally don't have access to.
If the user can access the SHARE and Folder C but not Folder A and Folder B he/she normally can't access files in Folder C without knowing the exact path. Once indexed in SharePoint it is an easy thing to find files from Folder C. (I hope that was somewhat understandable - English isn't my 1st language)
These also might be useful:
- thx it is perfectly fine ! I'll come back to you if I need anything else !! Great!Mohamed Ayach– Mohamed Ayach2017-01-12 15:15:29 +00:00Commented Jan 12, 2017 at 15:15
- Hello back, Folder was not found error ??Mohamed Ayach– Mohamed Ayach2017-01-12 15:17:04 +00:00Commented Jan 12, 2017 at 15:17
- this is my folder could it be the space in the naming ?Mohamed Ayach– Mohamed Ayach2017-01-12 15:19:02 +00:00Commented Jan 12, 2017 at 15:19
- Or maybe it is a permission issues .?Mohamed Ayach– Mohamed Ayach2017-01-12 15:39:23 +00:00Commented Jan 12, 2017 at 15:39
- Where do you get the error and what is the path? Have you checked that the crawl account can access the share and the underlying folder(s)? a space in the share name (e.g. \\Fileserver\My Folder) shouldn't be an issue for the content source.AM2FTW– AM2FTW2017-01-12 15:39:31 +00:00Commented Jan 12, 2017 at 15:39
