[Samba] fstab for a mount point

Urban Widmark urban at teststation.com
Sat Mar 9 03:19:02 GMT 2002


On Thu, 7 Mar 2002, K J wrote:

> can someone send me an example of a fstab entry for a
> samba mount-point? Also, how can I use the user option
> so that any user(and not just root) can mount and
> umount?

The 'user' fstab option isn't working to well with smbfs. It causes other
options to be lost and probably does not work at all on some setups.

/etc/fstab:
//localhost/tmp   /mnt/smb   smbfs   defaults,user,credentials=/etc/.smb_auth

But you must also make smbmnt setuid root for this to work (man chmod).

/Urban





More information about the samba mailing list