The Samba source code is distributed via https. View the download area via HTTPS. The file you probably want is called samba-latest.tar.gz. Old releases are available in the Samba archives.

The Samba distribution GPG public key can be used to verify that current releases have not been tampered with. Using GnuPG, simply download the Samba source distribution, the tarball signature, and the Samba distribution public key. Then run

$ gpg --import samba-pubkey.asc
$ gunzip samba-version.tar.gz
$ gpg --verify samba-release.tar.asc
gpg: Signature made Tue 20 Nov 2007 07:12:04 PM CST using \
  DSA key ID 6568B7EA
gpg: Good signature from "Samba Distribution Verification Key \

It is recommended that you also review the list of patches for current releases. For information on Samba security releases, please see our security page.


All major Linux and Free Unix distributions have Samba as a native package. See your distributor's package or port system for a native install of samba on your system. offers Samba packages for SLES, RHEL, and Debian and AIX. offers Samba packages for all SuSE Linux products (including SLES).

Git Sources

You can also fetch the sources using the GIT source code control system. The advantage of fetching via GIT is can update your sources at any time using a single command. See the Git instructions.


SMB/CIFS Clients

  • Mac OS X also ships with a native CIFS client. Since OS X 10.9 Apple moved away from AFP to SMB as standard file sharing protocol.


Nowadays, the Samba Team needs a dollar instead of pizza ;-)

Beyond Samba

Commercial Support

Global · By Country


sambaXP by SerNet



Current stable release

Samba 4.20.2 (gzipped)
Release Notes · Signature

Release History

Versions & Notes


Patches · Security Updates · GPG Key


Release Planning · Roadmap