samba mount to windows share folder
Hi, I got a problem with using setting up /etc/fstab to connect windows share folder. I can use following command:
mount -t smbfs -o username=xxx,password=xxx //windows/sharefolder /linuxmountpoint The above command have no problem. My problem is how to use fstab to mount it automatically???? Please help!!!1 |
put something like this into your fstab (one single line):
//server/folder /target smbfs credentials=/etc/samba/cred-file,uid=some_user,gid=users,fmask=0770,dmask=0770 0 0 the file /etc/samba/cred-file must contain: username some_user password right_password the file-permissions for this file should be root.root and 700 |
All times are GMT -5. The time now is 12:24 PM. |