From: Steve Dickson <SteveD@redhat.com>
To: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 0/2] nfsidmap: Allow admins to clean up id mappings that have (ver 3)
Date: Mon, 05 Dec 2011 09:45:39 -0500 [thread overview]
Message-ID: <4EDCD913.40300@RedHat.com> (raw)
In-Reply-To: <1322061842-1806-1-git-send-email-steved@redhat.com>
On 11/23/2011 10:24 AM, Steve Dickson wrote:
> In working with the new idmapper, it became very apparent that
> keys created from bad id mapping were very persistent and were
> not easy disposed of. Unlike with rpc.idmapd, to git rid
> of bad id mapping one just needed to restart the daemon.
>
> So I've added some functionality to the nfsidmap command
> that will allow admins to:
>
> - remove all the keys on the keyring.
> - remove a particular key from the keying.
>
> The intention is to allow admins a way to clean up the id
> name space when name resolution mechanisms, like NIS or LDAP,
> fail and leave a large number (or small number) of id mapping
> pointing to nobody.
>
> Note, for the second patch to work, there need to be a small
> kernel patch that will change the per-key permissions to
> allow root to revoke them.
>
> Version 2:
> - Added the fclose() calls as requested by the code review
> Version 3:
> - Confined the -c flag to only remove keys from the id_resolver keyring.
Committed...
steved.
>
> Steve Dickson (2):
> nfsidmap: Allow keys to be cleared from the keyring
> nfsidmap: Allow a particular key to be revoked.
>
> utils/nfsidmap/nfsidmap.c | 148 +++++++++++++++++++++++++++++++++++++++++--
> utils/nfsidmap/nfsidmap.man | 25 +++++++-
> 2 files changed, 167 insertions(+), 6 deletions(-)
>
prev parent reply other threads:[~2011-12-05 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-23 15:24 [PATCH 0/2] nfsidmap: Allow admins to clean up id mappings that have (ver 3) Steve Dickson
2011-11-23 15:24 ` [PATCH 1/2] nfsidmap: Allow keys to be cleared from the keyring Steve Dickson
2011-11-23 15:24 ` [PATCH 2/2] nfsidmap: Allow a particular key to be revoked Steve Dickson
2011-12-05 14:45 ` Steve Dickson [this message]
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=4EDCD913.40300@RedHat.com \
--to=steved@redhat.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).