Running only stable versions of Samba is recommended.
Download the Samba sources only from https://www.samba.org/.
Samba always maintains three release series:
The Samba team recommends that you always install the latest version of a supported release. This guarantees that your installation contains all available security fixes.
In case you discover any problem, please update your installation to the latest version of the current stable release before. This ensures that the problem has not been fixed in the meantime and reduces duplicate bug reports and unnecessary questions on the Samba Mailing List.
For further information about the release planning and the Samba life cycle, see Samba Release Planning.
|Never run a development version in a production environment. They contain untested features that can cause damages and data loss. Use development version only for testing purposes.|
The samba-master Branch
samba-master branch contains the source code of the next release series. To download:
$ git clone git://git.samba.org/samba.git samba-master
Development Version of a Specific Branch
v*-test branches contain the latest fixes and enhancements since the last release of the version source tree.
For example, to clone the latest development branch for Samba 4.5 using the git protocol:
$ git clone -b v4-5-test git://git.samba.org/samba.git samba-v4-5-test
To clone the same branch using the HTTP protocol:
$ git clone -b v4-5-test http://git.samba.org/samba.git samba-v4-5-test
Updating a Local Git Repository
To update a local cloned repository, run in the source directory:
$ git pull