Isso funciona no CentOS
mount.cifs //192.168.0.123/myshare /mnt/myshare -o user=myuser
(pede a senha - você pode adicioná-la na linha de comando, provavelmente via pass =)
Execute isso sozinho para ver todas as opções:
mount.cifs
Usage: mount.cifs -o
Mount the remote target, specified as a UNC name, to a local
directory.
Options:
user=
pass=
dom=
Less commonly used options:
credentials=,guest,perm,noperm,setuids,nosetuids,rw,ro,
sep=,iocharset=,suid,nosuid,exec,noexec,serverino,
mapchars,nomapchars,nolock,servernetbiosname=
directio,nounix,cifsacl,sec=,sign,fsc
Options not needed for servers supporting CIFS Unix extensions
(e.g. unneeded for mounts to most Samba versions):
uid=,gid=,dir_mode=,file_mode=,sfu
Rarely used options:
port=,rsize=,wsize=,unc=,ip=,
dev,nodev,nouser_xattr,netbiosname=,hard,soft,intr,
nointr,ignorecase,noposixpaths,noacl,prefixpath=,nobrl
Options are described in more detail in the manual page
man 8 mount.cifs
To display the version number of the mount helper:
mount.cifs -V