summaryrefslogtreecommitdiff
path: root/mount.cifs.8
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2011-01-14 15:37:14 -0500
committerJeff Layton <jlayton@samba.org>2011-01-14 15:37:14 -0500
commit2a0fef3c4a57a2b3dde86476d0056285a88c24ad (patch)
tree9fd7b08f899dbb0092ca382d0d63df7cd1e18685 /mount.cifs.8
parentcee19d087fbf8ab216447073e79f9c9117558317 (diff)
downloadcifs-utils-2a0fef3c4a57a2b3dde86476d0056285a88c24ad.tar.gz
cifs-utils-2a0fef3c4a57a2b3dde86476d0056285a88c24ad.tar.bz2
cifs-utils-2a0fef3c4a57a2b3dde86476d0056285a88c24ad.zip
mount.cifs: add cruid= mount option
Allow admins to pass in a username for the cruid= mount option. Signed-off-by: Jeff Layton <jlayton@samba.org> Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Diffstat (limited to 'mount.cifs.8')
-rw-r--r--mount.cifs.85
1 files changed, 5 insertions, 0 deletions
diff --git a/mount.cifs.8 b/mount.cifs.8
index 5f82ac9..469440d 100644
--- a/mount.cifs.8
+++ b/mount.cifs.8
@@ -120,6 +120,11 @@ forceuid
instructs the client to ignore any uid provided by the server for files and directories and to always assign the owner to be the value of the uid= option\&. See the section on FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS below for more information\&.
.RE
.PP
+cruid=\fIarg\fR
+.RS 4
+sets the uid of the owner of the credentials cache\&. This is primarily useful with sec=krb5\&. The default is the real uid of the process performing the mount\&. Setting this parameter directs the upcall to look for a credentials cache owned by that user\&.
+.RE
+.PP
gid=\fIarg\fR
.RS 4
sets the gid that will own all files or directories on the mounted filesystem when the server does not provide ownership information\&. It may be specified as either a groupname or a numeric gid\&. When not specified, the default is gid 0\&. The mount\&.cifs helper must be at version 1\&.10 or higher to support specifying the gid in non\-numeric form\&. See the section on FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS below for more information\&.