Linux NFS development
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Michael Guntsche <mike@it-loops.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: Manpage corrections for nfs-utils 1.2.4
Date: Wed, 13 Jul 2011 13:29:05 -0400	[thread overview]
Message-ID: <4E1DD5E1.10700@RedHat.com> (raw)
In-Reply-To: <20110713083828@it-loops.com>



On 07/13/2011 02:45 AM, Michael Guntsche wrote:
> Good morning,
> 
> I recently upgraded to 1.2.4 to use the new nfsidmap feature. While
> following the manpage and the kernel documentation I noticed a
> difference. Kernel docs mention key TYPE id_resolver while the manpage
> states nfs_idmap. The following patch changes the manpage to the proper
> type.
> 
> Kind regards,
> Michael Guntsche
Committed... Thank for the update! 

steved.
> 
> diff --git a/utils/nfsidmap/nfsidmap.man b/utils/nfsidmap/nfsidmap.man
> index 6c1a2d4..2381908 100644
> --- a/utils/nfsidmap/nfsidmap.man
> +++ b/utils/nfsidmap/nfsidmap.man
> @@ -25,9 +25,9 @@ will need to be modified so
>  can properly direct the upcall. The following line should be added before a call
>  to keyctl negate:
>  .PP
> -create	nfs_idmap	*	*	/usr/sbin/nfsidmap %k %d 600
> +create	id_resolver	*	*	/usr/sbin/nfsidmap %k %d 600
>  .PP
> -This will direct all nfs_idmap requests to the program
> +This will direct all id_resolver requests to the program
>  .I /usr/sbin/nfsidmap
>  The last parameter, 600, defines how many seconds into the future the key will
>  expire.  This is an optional parameter for
> @@ -48,9 +48,9 @@ You can choose to handle any of these individually, rather than using the
>  generic upcall program.  If you would like to use your own program for a uid
>  lookup then you would edit your request-key.conf so it looks similar to this:
>  .PP
> -create	nfs_idmap	uid:*	*	/some/other/program %k %d 600
> +create	id_resolver	uid:*	*	/some/other/program %k %d 600
>  .br
> -create	nfs_idmap	*		*	/usr/sbin/nfsidmap %k %d 600
> +create	id_resolver	*		*	/usr/sbin/nfsidmap %k %d 600
>  .PP
>  Notice that the new line was added above the line for the generic program.
>  request-key will find the first matching line and run the corresponding program.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2011-07-13 17:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13  6:45 Manpage corrections for nfs-utils 1.2.4 Michael Guntsche
2011-07-13 17:29 ` 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=4E1DD5E1.10700@RedHat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=mike@it-loops.com \
    /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