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.
cd /usr/ports/net/sambamakemake installcd /usr/local/etccp smb.conf.default smb.confworkgroup = my-domainhosts allow = 192.168.0. 127.security = serverpassword server = my-NT-PDM-machineencrypt passwords = yesinterfaces = 192.168.0.x/24 This should be only
this machines private NIC (if gateway/firewall) -- you do not
want to provide Samba services to the entire Internet!cd /usr/local/etc/rc.dmv samba.sh.sample samba.shsamba.sh if needed.