antonello
03-18-2005, 01:29 PM
I'm managing/transforming a lan at school. It was made of windows pcs with a very old SuSE 6.2 serving Samba shares.
I have chosen Knoppix for the migration to linux of most part of the machines in the lab, but I'm stuck with a problem.
Samba serves a common-share for all users. and I want that the share is mounted at boot-time (as in windows pcs)
So i put this line into /etc/fstab:
//192.168.0.1/common-share /mnt/common-share smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
and created /root/.smbcredentials
with:
username=myusername
password=mypassword
first problem: the mount is not automatic at boot-time.
second and main problem: a normal user cannot mount the share: the system says he hasn't got the privilege to mount it
I tried something, but in vain:
I added user,auto to fstab
chmod a+s /usr/bin/smbmnt
I must be a question related with Knoppix: I tried the same configuration on a Fedora Core 1 machine and it worked well.
tia
Antonello
I have chosen Knoppix for the migration to linux of most part of the machines in the lab, but I'm stuck with a problem.
Samba serves a common-share for all users. and I want that the share is mounted at boot-time (as in windows pcs)
So i put this line into /etc/fstab:
//192.168.0.1/common-share /mnt/common-share smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
and created /root/.smbcredentials
with:
username=myusername
password=mypassword
first problem: the mount is not automatic at boot-time.
second and main problem: a normal user cannot mount the share: the system says he hasn't got the privilege to mount it
I tried something, but in vain:
I added user,auto to fstab
chmod a+s /usr/bin/smbmnt
I must be a question related with Knoppix: I tried the same configuration on a Fedora Core 1 machine and it worked well.
tia
Antonello