[SLE] SAMBA shares in fstab?
Howdy, Sorry to be repetitive, but I never found an answer to my last samba problem: What does a line for a samba share in /etc/fstab look like? The man pages do _not_ answer this question. So, could anyone show me an example line? Thanks, JW -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Now I feel really stupid :-) I figured it out right after I sent this post, so now I can "mount /mnt/Cschomeserver" as root and it works fine. Now the problem is non-root users can't mount, even though I have the "user" option in fstab. I get the following error: jw@bismuth:~ > mount /mnt/Cschomeserver/ smbmnt must be installed suid root for direct user mounts (500,500) smbmnt failed: 1 mount.smbfs: ioctl failed, res=-1 Could not umount /mnt/Cschomeserver: Operation not permitted What should do about this - set the root UID bit on smbmnt by hand?
Howdy,
Sorry to be repetitive, but I never found an answer to my last samba problem:
What does a line for a samba share in /etc/fstab look like?
The man pages do _not_ answer this question.
So, could anyone show me an example line?
Thanks, JW
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi Jonathan! On Mon, 07 Aug 2000, Jonathan Wilson wrote:
Now I feel really stupid :-)
I figured it out right after I sent this post, so now I can "mount /mnt/Cschomeserver" as root and it works fine.
Now the problem is non-root users can't mount, even though I have the "user" option in fstab. I get the following error:
jw@bismuth:~ > mount /mnt/Cschomeserver/ smbmnt must be installed suid root for direct user mounts (500,500) smbmnt failed: 1 mount.smbfs: ioctl failed, res=-1 Could not umount /mnt/Cschomeserver: Operation not permitted
What should do about this - set the root UID bit on smbmnt by hand?
This is what I've got in my fstab.
//booger/c /mnt/booger smbfs noauto,user,rw 0 0
But I cannot mount it as a user. I get:
cannot mount on /mnt/booger: Operation not permitted
smbmnt failed: 1
mount.smbfs: ioctl failed, res=-1
Could not umount /mnt/booger: Invalid argument
I have smbmnt SUID set and it don't help.
I can mount it as root.
--
B. L. Jilek
On Mon, 7 Aug 2000, Jonathan Wilson wrote: jw> Howdy, jw> jw> Sorry to be repetitive, but I never found an answer to my last samba problem: jw> What does a line for a samba share in /etc/fstab look like? I'm using the automounter, thus theres no particular line in the fstab file for this, but you can add one which would look similar to the following: wetdream:/public /public bfs rw,bg,hard 0 0 or something to that effect. The man page for mount should show more options and give more ideas. If not, I would also recommend purchasing the 'Managing NFS and NIS' book from O'Reilly, very good book. jw> The man pages do _not_ answer this question. jw> So, could anyone show me an example line? jw> jw> Thanks, jw> JW jw> jw> jw> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.4+ - Kernel 2.2.16 How come only your friends step on your new white sneakers? -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (3)
-
bljilek@bigfoot.com
-
tomas@primenet.com
-
wilson@claborn.net