use samba 3 packages
FreeBSD 9 samba config
Add button to refresh ports DB