[linux-cifs-client] Override uid/gid if "server supports the CIFS
Unix extensions"?
Ken Johanson
tech at kensystem.com
Wed Jan 31 19:51:27 GMT 2007
Greetings,
I apologize of this has been discussed already, I was not able to find it.
Is it possible to override the uid/gid of a mounted CIFS file system,
like it was with smb-mount? I've switched to using the CIFS mount since
the smbmount seemed to have issues with very large files (+4GB), however
I need to retain the ability to override (masquerade) IDs. And every
mount-option I've tried so far reports the uid/gid of the remote system.
The man page for mount.cifs says:
"uid=arg sets the uid that will own all files on the mounted filesystem.
It may be specified as either a username or a numeric uid. This
parameter is ignored when the target server supports the CIFS Unix
extensions."
In anther part of the man it mentions that:
" It is possible to send options other than those listed here, assuming
that the cifs filesystem kernel module (cifs.ko)"
Is there an underlying option at that layer that does allow overriding IDs?
Question number two might be more of a fundamental one; on a system that
must mount other domains (i.e having IDs that overlap or do not match
local ones), is there some other layer that I should be using to map IDs
on the local and remote system? In other words, so that my user with id
'1234' on the local system is granted access to the remote system where
my id might be '4567'?
Thanks,
Ken
More information about the linux-cifs-client
mailing list