Easily mount SMB Share on Per User Basis
Clive Menzies
clive at clivemenzies.co.uk
Fri Mar 23 09:16:06 UTC 2007
On (22/03/07 16:11), Matthew Flaschen wrote:
> Clive Menzies wrote:
> > I believe smbfs is now depricated for cifs.
> >
> > Try loading the cifs module (I use modconf)
> >
> > and then I do:
> >
> > //server/share /smb/share cifs credentials=/home/user/.smb_pass,uid=user,gid=group,file_mode=0660,dir_mode=0770 0 0
> >
> >
> > YMMV
> >
>
> Thanks. That let me switch to cifs (bound to be necessary eventually,
> right :) ), but had to use the noperm option because my uid and username
> on this machine and the server don't match. I put the mountpoint in my
> home directory (which is 0700), which should mitigate the security
> vulnerability.
Yes. differing uids on various machines is a problem; currently with
relatively few PCs and servers, I've harmonised ours but I really ought
to bite the bullet and get my head around LDAP, Kerberos and central
authentication and login.
Regards
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
More information about the ubuntu-users
mailing list