[Samba] Fstab mounting error

Chris smb23 at realcomputerguy.com
Fri Mar 3 20:46:27 GMT 2006


On Friday 03 March 2006 15:32, Aaron Hawryluk wrote:
> However, it fails in fstab when I do:
>
> //host/share /var/mount/hostname/sharename smbfs
> username=username,password=password,domain=DOMAIN,fmask=0777,dmask=07
>77 0 0
>
> Any ideas?  Is this because it's not root that runs the fstab mounts?

I used smbfs in the past with no problem but I'm currently using cifs 
and this works for me:

//host/share  /mnt/point  cifs  credentials=/root/credfile  0 0

# cat credfile
username=myusername
password=mypassword

Chris


More information about the samba mailing list