Re: Samba fstab
From: Alexander Dalloz (alexander.dalloz_at_uni-bielefeld.de)
Date: 04/24/04
- Previous message: Peter J. Stieber: "x86_64 boot problem"
- In reply to: Adam T. Gautier: "Re: Samba fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 24 Apr 2004 03:02:46 +0200 To: For users of Fedora Core releases <fedora-list@redhat.com>
Am Sa, den 24.04.2004 schrieb Adam T. Gautier um 01:40:
> I tried running "sudo chmod -s /usr/bin/smbmount /usr/bin/smbumount"
Not smbmount has to be chmod u+s!
> now mount reports:
>
> libsmb based programs must *NOT* be setuid root.
> 4067: Connection to TK-MARKETING failed
> SMB connection failed
>
> So, again how would I set the /etc/fstab so that a user can mount the
> SMB share?
1) su - <enter root password>
2) chmod u+s /usr/bin/smbmnt /usr/bin/smbumount
3) in /etc/fstab entry line for samba share mounts at 4th column
something like
credentials=/home/$user/.samba,uid=500,gid=500,rw,umask=002,noauto,users
4) mount samba shares then run like
mount /mn/samba_mountpoint
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl
Sirendipity 02:57:28 up 5 days, 9:43, load average: 0.52, 0.42, 0.30
[ Γνωθι σ'αυτον - gnothi seauton ]
my life is a planetarium - and you are the stars
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- application/pgp-signature attachment: Dies ist ein digital signierter Nachrichtenteil
- Previous message: Peter J. Stieber: "x86_64 boot problem"
- In reply to: Adam T. Gautier: "Re: Samba fstab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|