Networking Your Drives: The SMB (Samba) Struggle

Set up SMB shares the whole household can use from Windows, Linux and Mac — including the exact smb.conf flags that fix Apple's constant disconnects.

The Goal: Universal Access

I wanted a simple way to drop files onto my server without using flash drives. Samba (SMB) is the standard protocol for sharing folders over a local network.

Note

SMB shares only work well if your drives mount reliably on every boot. If you haven’t done it yet, start with automounting your hard drives.

The Reality: Cross-Platform Nightmares

Getting Windows and Linux machines to see the shared folders was relatively straightforward. However, getting Apple devices to connect and authenticate cleanly was a massive headache.

How to fix Apple SMB issues:

Ensure your smb.conf file includes compatibility flags for macOS. Under your [global] settings, add:

vfs objects = catia fruit streams_xattr
fruit:metadata = stream
fruit:model = MacSamba

This forces Samba to play nicely with Finder on macOS, stopping disconnects and preventing those annoying .DS_Store hidden files from cluttering your media directories.

And if you want those same files available outside your home — without opening a single router port — pair this with Tailscale.

Portrait of Guillermo

Written by Guillermo

IT Student & Home Server Enthusiast

Building private clouds to break free from Big Tech. I document everything I learn about home servers and self-hosting on MyHomeServerGuide.

More about the author