Domain is the same as workgroup. In fact domain is the correct word, and workgroup is something M$ invented to cause confusion!
You will also need to have the Samba daemon running. You can find that in System > Administration > Services, and look for
smb. Tick the box and click on Start. If you make any changes to the host name of your computer or to the domain name, you will need to restart the smb daemon.