Firstly, if you know a good site that covers "mounting windows drives via /etc/fstab" and don't want to read this long post, please post the link ....
My distro is a fully updated redhat 8.0 installation. I want to mount windows shares using /etc/fstab
I have set up icons on the desktop to each drive, but they won't allow me to mount as a user. here is the relevant section of the /etc/fstab file. All the mentioned drives mount and are readable as root using mount -a from console.
//server/dropbox1 /mnt/dropbox1 smbfs uid=root,password=,rw,dmask=0000,fmask=0000,umask=0000
//server/dropbox2 /mnt/dropbox2 smbfs uid=root,password=,rw,dmask=0000,fma
//server/dropbox3 /mnt/dropbox3 smbfs uid=root,password=,rw,dmask=0000,fma
I would like users to be able to mount the drives and have read, write and execute permissions.
I have run chmod a+s smbmnt. I did the same to smbmount, but apparently this is a really bad idea, so I THINK I have fixed that.
Here the Permissions for smbmnt and smbmount incase the problem lay here.
-rwsr-sr-x 1 root root 560774 Apr 6 2003 smbmnt
-rwxr-xr-x 1 root root 571222 Apr 6 2003 smbmount
Because I can log in and access the drives as root, I don't think the following is where the problem is, but a full picture.....
I have an e-smith server which acts as the internet/DHCP server. The windows box 'server' is another machine on the network. it has three drives shared as dropbox1, 2 & 3 respectively. There is no login required on the box and it runs Win98 SE. The drives are shared with user access. the network logon is set to Windows Logon for the win98 box.
I used to be able to mount samba shares from the e-smith server using
//esmith/esmithr_bay /mnt/esmith smbfs username=nobody,password=,dmask=0777,fmask=0777,user,auto,user,rw 0 0
This string does not appear to work when editted to accomodate the win98 'server' settings.
Any help appreciated.