Работает под CentOS
mount.cifs //192.168.0.123/myshare /mnt/myshare -o user=myuser
(он запрашивает пароль -вы можете добавить его в командной строке, вероятно, через pass=)
Запустите это отдельно, чтобы увидеть все параметры:
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