11 things to check before putting Samba server to work:
If return ‘host not found’ or a similar message, then your DNS software or /etc/hosts file is not correctly set up.
Elseif other ping errors, go to check 3 - the firewall.
$ hostname -a
$ hostname -f
$ ipchains -L -v
If you get an error message containing the string ‘bad password’, then you probably have either an incorrect hosts allow, hosts deny, or valid users line in your smb.conf, or your guest account is not valid. Check what your guest account is using testparm and temporarily remove any incorrect hosts allow, hosts deny, or valid users lines.
If you get a message connection refused response, then the smbd server may not be running. If you installed it in inetd.conf, then you probably edited that file incorrectly. If you installed it as a daemon, then check that it is running and check that the netbios-ssn port is in a LISTEN state using netstat -a.
Note: Some UNIX/Linux systems use xinetd in place of inetd. Check your system documentation for the location of the control files for your particular system implementation of the network super daemon.
...
