
Importantly, Avahi support is intentionally disabled in Debian and Ubuntu’s builds of Samba, and Spotlight support is not enabled.
HOW TO INSTALL SAMBA FOR OSX MAC
Disconnect and reconnect to your shares on your Mac to double-check that it’s working fine. Hopefully, you’ll now have your own copy of Samba built and running. It doesn’t seem Samba’s Spotlight feature supports version 2 yet, so just remove -enable-spotlight in this case. Newer distros (at least the case with Ubuntu 17.10) may have libtracker-sparql version 2 rather than 1. Start by downloading the latest version of the Samba source.įor i in nmb smb winbind do sudo /etc/init.d/ $i start done

Ubuntu 18.10 and Debian Buster do have 4.8.x. Skip past this section if your distro already comes with Samba 4.8.0 or newer.

Until that time, you’ll need to build Samba from source. The bad news is that your favorite Linux distro probably doesn’t have this version (4.8.0) and likely won’t until the distro’s next major release. The Samba project recently merged the support necessary for macOS to “see” an SMB shared folder as capable of being a network Time Machine share. Unfortunately, the way Apple has implemented it, not just any network share can be used - the server has to mark it as a Time Machine-capable share. MacOS’s amazing Time Machine feature can make backups either to a local drive (whether connected externally or internally), or to a network share. Nowadays, SMB is the standard protocol regardless of operating system.
HOW TO INSTALL SAMBA FOR OSX WINDOWS
It uses the SMB protocol, originally a proprietary protocol designed by Microsoft for sharing files between a Windows server and workstation. that enables you to share storage attached to a server with any other device in the network. Samba, in its simplest form, is a program for Linux, FreeBSD, Windows (via WSL), etc.
