Hey everyone, I solved this issue by following various instructions.
First, on the macOS client, issue the commands found in Adjust SMB
browsing behavior in macOS High Sierra 10.13. Then, on the Samba server,
use the configuration https://gist.github...