edit /etc/fstab, add the line:
//host/shared/ /home/shar/ cifs username=u,password=p,_netdev,uid=root,gid=users 0 0
replace host with [host]
/shared/ with the folder shared
/home/shar/ with where you want to mount it
u with the samba username
p with the samba password
(when complete, 'mount -a' should apply the fstab changes).
No comments:
Post a Comment