/etc/fstab entry to allow users to mount samba shares

Hunt, Bryan B.Hunt at emuse-tech.com
Tue Apr 23 23:54:02 GMT 2002

make smbmount suid root ...chmod 4755 /bin/smbmount 



-----Original Message-----
From: Lars Heineken [mailto:Lars.Heineken at gmx.de]
Sent: Tuesday, April 23, 2002 8:38 PM
To: samba-technical at lists.samba.org
Subject: /etc/fstab entry to allow users to mount samba shares

Hi !

This can be an easy one or a tough one..

I tried to make an entry in /etc/fstab to enable users to mount a specific
samba-share (here: //Heineken/CD-ROM) 

//Heineken/CD-ROM /mnt/HeinekenCDROM smbfs
user,auto,username="x",password"x"0 0

the only way to make this work is that the mount-destination is owned by the
user who want's to mount. So "lars" for example can do the mount if
/mnt/HeinekenCDROM is owned by "lars".
As I don't want a speparate mountpoint for each user, how can I solve this
the "right" way. Just like a CD-ROM mount ?


Lars Heineken.

More information about the samba-technical mailing list