You can obtain the Samba source file from the Samba Web site. To obtain a development version, you can download Samba from Subversion or using rsync.
Samba is developed in an open environment. Developers use a Subversion to “checkin” (also known as “commit”) new source code. Samba’s various Subversion branches can be accessed via anonymous Subversion using the instructions detailed in this chapter.
This chapter is a modified version of the instructions found at the Samba Web site.
The machine samba.org runs a publicly accessible Subversion repository for access to the source code of several packages, including Samba, rsync, distcc, ...