Samba: Windows Explorer Refresh

Using Red Hat with Samba (Version 3.0.10-1.4E.11), I had the problem that Windows Explorer would not refresh properly when browsing the folders served by Samba. When creating a new folder, nothing showed up and it was necessary to manually refresh the Explorer window to see the “New Folder”. The same symptoms appeared with newly created files.

To fix this, add the following line to the [global] section of your smb.conf (usually located under /etc/samba/smb.conf):

[global]
refresh = 1

Sadly, I could not find this parameter in the official Samba manpages. Should anyone have more information or any documentation on this, feel free to let me know.

Hello world

My name is Simon Krenger, I am a Technical Account Manager (TAM) at Red Hat. I advise our customers in using Kubernetes, Containers, Linux and Open Source.

Elsewhere

  1. GitHub
  2. LinkedIn
  3. GitLab