[wellylug] Linux as a Samba client.
Jethro Carr
jethro.carr at jedolinux.com
Wed Jun 1 20:05:38 NZST 2005
On Tue, 2005-05-31 at 23:28, jumbophut wrote:
> On 5/31/05, Jethro Carr wrote:
> > On Tue, 2005-05-31 at 08:14, Geraint Jones wrote:
> > > username=mitchell,password=<password>,user 0 0
> > >
> > > The user part specifies that one need not be in the root group to mount
> >
> > yeah, that's what should happen (and does with CDROM, floppy, etc).
> >
> >
> > however, I tried that with the SMB shares and it didn't work. :-(
> >
>
> There's a suggestion in the following doc:
> <http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html>
>
> But running things setuid root should make you feel nervous.
>
> More here from the samba guys:
> <http://lists.samba.org/archive/linux-cifs-client/2004-July/000297.html>
> <http://lists.samba.org/archive/samba-technical/2005-March/039861.html>
>
> Oh, and this:
>
> "smbmnt is a helper application used by the smbmount program to do the
> actual mounting of SMB shares.smbmnt can be installed setuid root if
> you want normal users to be able to mount their SMB shares.
>
> A setuid smbmnt will only allow mounts on directories owned by the
> user, and that the user has write permission on.
>
> The smbmnt program is normally invoked by smbmount(8). It should not
> be invoked directly by users.
>
> smbmount searches the normal PATH for smbmnt. You must ensure that the
> smbmnt version in your path matches the smbmount used. "
>
> Good luck.
>
> --
> Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /l at omcgtjuba.phi/')
cheers Tony,
I've tried setuiding it, however, I haven't tried setting the normal
user as the owner.
I'll give it a try. :-)
--
-- Jethro Carr
jethro.carr at jedolinux.com
http://jethrocarr.jedolinux.com
http://jethrocarr.jedolinux.com/index.php?page=cv/cv.php
http://www.jedolinux.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20050601/fc4d4e57/attachment.pgp
More information about the wellylug
mailing list