The following utilities are useful in setting up Samba:
tests to see if ownership and permissions are set correctly for Samba-related files
tests if a printer name is valid for Samba usage
shows current connections to your Samba server
shows available services on a Windows system acting as a server.
Check the man pages for each utility for more help.