logo       

Re: CIFS Unix Extensions and uid/gid/mode: msg#00029

linux.file-systems.cifs

Subject: Re: CIFS Unix Extensions and uid/gid/mode

Steve French wrote:
> Any opinions on whether there should be a way to mount to Samba (which
> supports the CIFS Unix Extensions by default) but ignore the
> uid/gid/mode (and posix acls) which the server returns? For cases in
> which the Samba server has different uids than the client, mounts can be
> awkward, eventually we may add a way to load a uid mapping table to help
> with this kind of case, but in the meantime, I have been wondering about
> whether we should allow overrides of a "default uid" or gid or mode even
> when Unix Extensions are negotiated.

I have encountered these problems in production and they're really annoying.
For a while, I even turned off the Unix extensions on the Samba side just
to get around the problems I was having.

> Currently the only way to do this with cifs client is to disable the
> Unix Extensions on the client or server (which also disables posix
> locking, the extended posix statfs and unix mknod).

What's the switch for disabling the extensions on the client side?

Also (sort of a tangent here), I've been trying to figure out how to use a
CIFS share from a Samba server in a way similar to the way I can mount NFS
shares. Basically, I want to be able to mount a remote CIFS share as guest,
but still have full uid/gid/mode support.

Chris -)-----

--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh@xxxxxxxxxxxx
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh@xxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise