[Samba] cifs mounts in smbfstab

Adam Nielsen adam.nielsen at uq.edu.au
Sun Jul 2 22:57:22 GMT 2006


> I have the following in /etc/samba/smbfstab;

Don't you mean /etc/fstab?

> //msserver/share       /mnt/smb-share    cifs
> file_mode=0777,dir_mode=0777,credentials=/etc/cifsusers/admin,rw
>
> However, when using 'mount /mnt/smb_dir' I get;

Why are you mounting /mnt/smb_dir, when you've entered it
as /mnt/smb-share?

> mount: can't find /mnt/smb_dir in /etc/fstab or /etc/mtab
> Any ideas?

Change "/mnt/smb-share" to "/mnt/smb_dir" and move the entry
to /etc/fstab?

> I can ping by name and the mount works if in fstab.

As it should...

Cheers,
Adam.


More information about the samba mailing list