I needed to connect my CentOS system to a Windows 7 machine (which is in a workgroup) quickly.
- Yum install samba3x
- Yum install samba3x-client
- Yum install samba3x-swat
Once installed I was able to connect to a Windows share by typing
smbclient //WindowsNetBIOSName/ShareName –U Username (on WindowsMachine)
You should be prompted for a password for Windows user account. Using ‘get’ command I was able to copy a file to the CentOS machine.