To install on
Centos:
yum install samba-client
Ubuntu:
sudo apt-get install smbclient
View remote share
smbclient -L <ipaddress>
To mount:
mount -t cifs -o guest //server/share /path_to/mount
or
mount -t cifs -o username=server_user,password=secret //192.168.44.100/share /path_to/mount
parmanent mount in fstab.
//<server ipaddress>/share /path_to/mount cifs guest,_netdev 0 0
//<server ipaddress>/share /path_to/mount cifs username=server_user,password=secret,_netdev 0 0
//<server ipaddress>/share /path_to/mount cifs credentials=/path_to/.creds,_netdev,uid=client_user,gid=users 0 0
man page on smbclient: http://linuxcommand.org/man_pages/smbclient1.html