This is basically a checklist of how to setup a new system to make samba work. The intent is not to cover everything in detail, merely to point you to each of the tasks that must be performed.
Related manual pages: samba.org.
cp smb.conf.default smb.conf
workgroup = my-domain
hosts allow = 192.168.0. 127.
security = server
password server = my-NT-PDM-machine
encrypt passwords = yes
interfaces = 192.168.0.x/24This should be only this machines private NIC (if gateway/firewall) -- you do not want to provide Samba services to the entire Internet!
mv samba.sh.sample samba.sh