Currently testing the install/config of everything server and keep running into issues with the server indexing some DFS share locations. All shares have the following minimum permissions assigned
There seems to be some permissions issue with the shares that i cant seem to isolate. Below is a synopsis
If \\DFSdomainRoot\Namespace1\Share1 is set as the index folder directory in Tools-Option-Index-Folder Everything is unable to index any files
permissions on the above parent folder for service user acct is - Read&Execute - list folder contents
if \\DFSRoot\Namespace1\Share1\subfolder1 is added as a folder, the server IS able to index this path fine
permissions on the above folder for service user acct is - Read&Execute - list folder contents
this share a referral on a separate device.
if \\DFSRoot\Namespace1\Share1\subfolder2 is added as a folder, the server IS NOT able to index this path
permissions on the above folder for service user acct is - Read&Execute - list folder contents
this share is in the main dfs namespace.
Question is why is it able to index some of the subfolders and not other even though the permissions are similar
Issues with server indexing permissions on DFS share
Re: Issues with server indexing permissions on DFS share
Please try the following to debug the issue:
Everything will only need list access. (FILE_LIST_DIRECTORY)
- Stop the client service:
Everything.exe -stop-client-service- Launch Everything with the same service user account. (If this isn't an easy option, please let me know)
- Show the debug console from Tools -> Debug -> Console.
- Rescan your "\\DFSRoot\Namespace1\Share1\subfolder2" folder from Tools -> Options -> Folders -> Rescan Now
- Watch the debug console for errors in Red text, they should look like:
FindFirstFileEx <error-code> \\DFSRoot\Namespace1\Share1\subfolder2 - What error code is shown?
- Exit Everything (File -> Exit)
- Restart the client service:
Everything.exe -start-client-service
Everything will only need list access. (FILE_LIST_DIRECTORY)
Re: Issues with server indexing permissions on DFS share
see attached for debug log
- Attachments
-
- FindFirstFile-Error.jpg (242.18 KiB) Viewed 5360 times
Re: Issues with server indexing permissions on DFS share
Thanks for the log.
Error 59 is ERROR_UNEXP_NET_ERR: An unexpected network error occurred.
Maybe a timeout? how large is this folder?
Antivirus or firewall blocking the access?
Is there a folder junction redirection in the path on the server?
-Check the event viewer for on both client and server for SMB or redirector errors.
Weird the first FindFirstFile call fails with error 59, then immediately after with 5.
To me that sounds like Antivirus or firewall temporarily blocking access after an error.
What OS are you using for the server?
Error 59 is ERROR_UNEXP_NET_ERR: An unexpected network error occurred.
Maybe a timeout? how large is this folder?
Antivirus or firewall blocking the access?
Is there a folder junction redirection in the path on the server?
-Check the event viewer for on both client and server for SMB or redirector errors.
Weird the first FindFirstFile call fails with error 59, then immediately after with 5.
To me that sounds like Antivirus or firewall temporarily blocking access after an error.
What OS are you using for the server?
Re: Issues with server indexing permissions on DFS share
There is folder junction redirection taking place. All windows firewall disabled on client workstation and server as part of testing. No real errors in the SMB logs in event viewer that point to an issue. Server os is Win2k22
Last edited by onedrop on Tue Sep 16, 2025 5:14 am, edited 1 time in total.
Re: Issues with server indexing permissions on DFS share
Does the issue occur for shares where there's no redirection?
On the Server, could you please upload your Everything-1.5a.ini in a bug report.
This folder shouldn't be starting with \\\\DFSRoot (it should be \\DFSRoot)FindFirstFileEx 5 \\\\DFSRoot\Share\Subfolder1\*
On the Server, could you please upload your Everything-1.5a.ini in a bug report.
Re: Issues with server indexing permissions on DFS share
That was a typo, I have attached server ini to bugreport with title of tihis topic.void wrote: Tue Sep 16, 2025 2:45 am Does the issue occur for shares where there's no redirection?
This folder shouldn't be starting with \\\\DFSRoot (it should be \\DFSRoot)FindFirstFileEx 5 \\\\DFSRoot\Share\Subfolder1\*
On the Server, could you please upload your Everything-1.5a.ini in a bug report.
It seems the other way around the redirected shares are the one that seem to work vs the ones directly in the DFSRoot not working. i will test further and validate