From: "J. Bruce Fields" <bfields@fieldses.org>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: Configuring NFSv4.0 Kerberos on a multi-homed Linux NFS server
Date: Wed, 11 May 2016 10:05:24 -0400 [thread overview]
Message-ID: <20160511140524.GA24648@fieldses.org> (raw)
In-Reply-To: <A0A26870-27A4-48BE-ABA2-048A110F5272@oracle.com>
On Mon, May 09, 2016 at 11:00:06AM -0400, Chuck Lever wrote:
>
> > On May 6, 2016, at 12:13 PM, J. Bruce Fields <bfields@fieldses.org> wrote:
> >
> > On Fri, May 06, 2016 at 09:23:40AM -0400, Chuck Lever wrote:
> >>
> >>> On May 5, 2016, at 10:44 PM, Bruce Fields <bfields@fieldses.org> wrote:
> >>>
> >>> On Thu, May 05, 2016 at 05:01:58PM -0400, Chuck Lever wrote:
> >>>> After some IRC discussion with Bruce, we think the answer
> >>>> is "this is not supported in the current Linux NFS server."
> >>>>
> >>>> The server does not have a way to determine which service
> >>>> principal to use for NFSv4.0 callback operations. It picks
> >>>> (probably) the first nfs/ service principal in the server's
> >>>> keytab for all callback operations.
> >>>>
> >>>> Thus if a Linux NFS server has a keytab, clients can mount
> >>>> it with NFSv4.0 (and any security flavor) only on the i/f
> >>>> whose hostname matches the name of the nfs/ service
> >>>> principal in that server's keytab.
> >>>
> >>> One correction: the mount should still work correctly. The server just
> >>> won't grant any delegations to the client.
> >>
> >> Unfortunately this is not the case.
> >
> > Ugh, OK, that's worse than I thought. I guess you can work around it on
> > the server side with "echo 0 >/proc/sys/fs/leases-enable".
>
> Google can find this e-mail thread, but would like me to
> open a bug report on bugzilla.linux-nfs.org as well, Bruce?
Up to you. I'll confess to mostly ignoring upstream bugzilla until
it sends me email.
By the way, were you using gss-proxy? (What distro?) Did it take any
special configuration to get the basic protocol working with multiple
principals, beyond just creating the keytabs?
--b.
next prev parent reply other threads:[~2016-05-11 14:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 16:04 Configuring NFSv4.0 Kerberos on a multi-homed Linux NFS server Chuck Lever
2016-05-05 21:01 ` Chuck Lever
2016-05-06 2:44 ` Bruce Fields
2016-05-06 13:23 ` Chuck Lever
2016-05-06 16:13 ` J. Bruce Fields
2016-05-06 16:43 ` Chuck Lever
2016-05-09 15:00 ` Chuck Lever
2016-05-11 14:05 ` J. Bruce Fields [this message]
2016-05-11 14:58 ` Chuck Lever
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=20160511140524.GA24648@fieldses.org \
--to=bfields@fieldses.org \
--cc=chuck.lever@oracle.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