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 .
www.samba.org