This is an old revision of the document!
mount -t cifs //<SRV>/<SHARE>/ /mnt/<POINT>/or with connection parameters
mount -t cifs //<SRV>/<SHARE>/ /mnt/<POINT>/ -o username=user,password=pass,domain=dom
Make sure you can access it and that you can see files. If you already have files at “//<SRV>/<SHARE>/” you can use
ls -al /mnt/<POINT>/Also create a file with
touch /mnt/<POINT>/testand check if it has been created.
Insert in “/etc/fstab”
//<SRV>/<SHARE> /<MNTPOINT> cifs credentials=</root/.smbcreds>,iocharset=utf8,sec=ntlm 0 0
Insert in </root/.smbcreds>
username=<username> password=<password> domain=<domain>
Execute
mount -a
Discussion