From 2a0fef3c4a57a2b3dde86476d0056285a88c24ad Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Fri, 14 Jan 2011 15:37:14 -0500 Subject: mount.cifs: add cruid= mount option Allow admins to pass in a username for the cruid= mount option. Signed-off-by: Jeff Layton Reviewed-by: Shirish Pargaonkar --- mount.cifs.8 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mount.cifs.8') 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\&. -- cgit v1.2.3