Wiki2
SMB Setup

Add smb packages

# pkg_add samba-3.0.21bp3.tgz
# pkg_add samba-docs-3.0.21b.tgz

Start SMB at boot. Add the following lines to /etc/rc.local

if [ -x /usr/local/libexec/smbd ]; then
echo -n ´ smbd´;        /usr/local/libexec/smbd
fi
if [ -x /usr/local/libexec/nmbd ]; then
echo -n ´ nmbd´;        /usr/local/libexec/nmbd
fi

Add user samba

# adduser samba
# smbpasswd -a samba

Edit /etc/samba/smb.conf