Re: Mount Linux to Linux Samba share w/permissions?
- From: bobmct <r.mariottiX@xxxxxxxxx>
- Date: Wed, 14 Jun 2006 21:58:33 -0400
Jeremy Allison wrote:
On Wed, 07 Jun 2006 22:31:00 -0400, bobmct wrote:
I've been using Samba for about a decade now quite successfully.
However, I'm in the process of replacing most (hopefully all) of my
windoze
desktops with SUSE 10.1 desktops. I wish to mount the remote server
samba shares on these new desktops but retain the ownership and
permissions as
they currently exist on the server. I've tried both "mount" and
"smbmount" but cannot seem to get my parameters correct for this. Yes -
I can mount them, see them and access them but I need to be able to
create files and have them created with the desktop user's name and
group.
Other than forcing a user/group in the smb.conf... can anyone recommend
how I can achieve this?
Ignore the nay-sayers in this group - this is *exactly* what we're
hoping people will do with SuSE Linux 10.1 clients and Samba servers.
Use the CIFSFS client, not the unsupported smbfs client.
The UNIX to UNIX CIFS modifications are directly designed to do this.
NFS to the desktop is dead, as you've noticed it has some severe
deficiencies.
You firstly need to share uid and gid info between the server and clients,
until we've finished the UNIXINFO pipe use either NIS or an LDAP backend
to do this. Ensure the Samba server is modern (3.0.22 or the 3.0.23RC2
candidates) and make sure the users are added into the passdb backend of
your choice (LDAP if you're using an LDAP server, tdb is you're using
NIS).
The UNIX extensions in the client and server should mean that the uids
and gids as seen on the clients are identical to the server, permissions
too. Check this with ls -l. Once this is correct then the mounted user
should be able to create files and will be seen as the correct user and
primary gid. You even get POSIX ACL support (and EA's).
If you have problems, please log bugs with the SuSE bugzilla. This is
supported and should work well.
Jeremy Allison,
Samba Team.
WOW! Great Jeremy;
I will give this a go and post my results.
Thanks,
Bob
.
- Follow-Ups:
- Re: Mount Linux to Linux Samba share w/permissions?
- From: Nico Kadel-Garcia
- Re: Mount Linux to Linux Samba share w/permissions?
- References:
- Mount Linux to Linux Samba share w/permissions?
- From: bobmct
- Re: Mount Linux to Linux Samba share w/permissions?
- From: Jeremy Allison
- Mount Linux to Linux Samba share w/permissions?
- Prev by Date: Re: Mount Linux to Linux Samba share w/permissions?
- Next by Date: Re: Mount Linux to Linux Samba share w/permissions?
- Previous by thread: Re: Mount Linux to Linux Samba share w/permissions?
- Next by thread: Re: Mount Linux to Linux Samba share w/permissions?
- Index(es):
Relevant Pages
|