Andreas Philipp wrote:
James,
El Jue 04 Nov 2004 15:24, James Knott escribió:
I've been trying to configure fstab, to allow a user to mount an smb share, but it doesn't seem to work. When I try to use the user or users options, I get an error. Is there any other option or method that allows a user to mount an smb share? It works fine, when mounting as root, without the user option specified.
For users being able to mount shares from Windows boxes in the network, the smbmnt command must have the suid bit set. To do so, do (as root) 'chmod +s /usr/bin/smbmnt'. The same holds true for smbumount, as your users may wish to unmount the previously mounted shares. I guess there may lay your problem.
Regards,
/usr/bin/smbmnt is a sym link, which points to another sym link, that points to /usr/lib/samba/classic/smbmnt. Changing that to suid had no effect.