When browsing a SAMBA file server, File Explorer takes a very long time (60+ secs) to load a share. If I view the same share on the command line with the following command, it returns the listing instantly.
dir \\server\share
This leads me to believe it's a problem with Windows and not the file server.
How can I diagnose the problem? What is File Explorer doing differently than the "dir" command?
Thanks.
Best Answer
You asked: "How can I diagnose the problem?" Here's how I would start to troubleshoot this:
If you have done these steps, could you edit your question to show the results of these steps? More detailed information in the question will lead to more detailed answers. Thank you.
/etc/samba/smb.conf
or an included configuration file.dir \\server\share
anddir \\192.168.1.2\share
both take the same amount of time to load the share? Does File Explorer take the same time when using the IP and when using the hostname? If the time is faster with one or the other, that points to an issue with name resolution.smbclient
a useful tool.