Mounting a Samba Share in Linux
Just for my own documentation, here's how I configured the Samaba share from the old server on the new server, courtesy of Tero Karvinen:
- Edit $HOME/sambapass
- nano /home/myusername/sambapass
username = windowsuser
password = windowspassword
domain = workgroupname - Create an empty directory (a mount point)
- $ mkdir /mnt/files2
- As root, edit /etc/fstab, add this line in the end (all on one line)
- //windowsserver/share /home/tee/mymountpoint
smbfs credentials=/home/tee/sambapass,uid=myusername,gid=users,dmask=700,fmask=700 0 0 - Mount everything
- # mount -a
Labels: fileserver
0 Comments:
Post a Comment
<< Home