From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH v4 0/5] Allow the admin to turn off NFSv4 uid/gid mapping
Date: Tue, 4 Jan 2011 20:57:46 -0500 [thread overview]
Message-ID: <1294192671-18864-1-git-send-email-Trond.Myklebust@netapp.com> (raw)
The following patches allow the admin to turn off NFSv4 uid/gid mapping
if mounting using AUTH_SYS security.
Minor changes w.r.t. first revision:
- Added documentation in kernel-parameters.txt
- Print a warning if an NFS4ERR_BADOWNER causes us to turn idmapping on again
Changes w.r.t. second revision:
- Ensure we propagate the NFS4ERR_BADOWNER up to the NFSv4 middle layers
- Fix a typo in nfs4_handle_exception
Changes w.r.t. third revision:
- Work around a Linux server bug which causes pre-2.6.37 kernels to return
NFS4ERR_BADNAME in cases where it should be returning NFS4ERR_BADOWNER.
Trond Myklebust (5):
NFSv4: If the server sends us a numeric uid/gid then accept it
NFSv4: Send unmapped uid/gids to the server if the idmapper fails
NFSv4: cleanup idmapper functions to take an nfs_server argument
NFSv4: Propagate the error NFS4ERR_BADOWNER to nfs4_do_setattr
NFSv4: Send unmapped uid/gids to the server when using auth_sys
Documentation/kernel-parameters.txt | 8 +++
fs/nfs/client.c | 16 ++++++
fs/nfs/idmap.c | 87 +++++++++++++++++++++++++++-------
fs/nfs/nfs4proc.c | 18 +++++++-
fs/nfs/nfs4xdr.c | 20 +++-----
include/linux/nfs_fs_sb.h | 1 +
include/linux/nfs_idmap.h | 8 ++--
7 files changed, 123 insertions(+), 35 deletions(-)
--
1.7.3.4
next reply other threads:[~2011-01-05 1:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-05 1:57 Trond Myklebust [this message]
2011-01-05 1:57 ` [PATCH v4 1/5] NFSv4: If the server sends us a numeric uid/gid then accept it Trond Myklebust
2011-01-05 1:57 ` [PATCH v4 2/5] NFSv4: Send unmapped uid/gids to the server if the idmapper fails Trond Myklebust
2011-01-05 1:57 ` [PATCH v4 3/5] NFSv4: cleanup idmapper functions to take an nfs_server argument Trond Myklebust
2011-01-05 1:57 ` [PATCH v4 4/5] NFSv4: Propagate the error NFS4ERR_BADOWNER to nfs4_do_setattr Trond Myklebust
2011-01-05 1:57 ` [PATCH v4 5/5] NFSv4: Send unmapped uid/gids to the server when using auth_sys Trond Myklebust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1294192671-18864-1-git-send-email-Trond.Myklebust@netapp.com \
--to=trond.myklebust@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).