You can obtain the Samba source from the Samba Website. [1] To obtain a development version, you can download Samba from CVS or using rsync .
[1] http://samba.org/