Linux NFS development
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Olga Kornievskaia <aglo@umich.edu>,
	"Adamson, Andy" <William.Adamson@netapp.com>,
	Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: Problem re-establishing GSS contexts after a server reboot
Date: Wed, 3 Aug 2016 15:34:05 -0400	[thread overview]
Message-ID: <20160803193405.GA5901@fieldses.org> (raw)
In-Reply-To: <4A1D033F-7611-401D-A9DF-E5806EFF921C@oracle.com>

On Wed, Aug 03, 2016 at 03:14:21PM -0400, Chuck Lever wrote:
> 
> On Aug 2, 2016, at 2:06 PM, bfields@fieldses.org wrote:
> > You should be able to use the same context with different services.
> > 
> > Apologies, I haven't caught up with the whole discussion above, this one
> > point just jumped out at me.  If you're trying to request a whole new
> > gss context just so you can use, e.g., integrity instead of privacy,
> > then something's wrong.
> 
> As I understand it, GSS contexts are fungible until they have been
> used. On first use, the context is bound to a particular service.
> Subsequently it cannot be used with another service.
> 
> The Solaris server seems to expect that separate GSS contexts are
> needed when the same UID employs different GSS services. If Solaris
> is wrong about this, can you show me RFC language that specifically
> allows it? I can take that back to the Solaris developers.

No, you're right, apologies; from https://tools.ietf.org/html/rfc2203

	Although clients can change the security service and QOP used on
	a per-request basis, this may not be acceptable to all RPC
	services; some RPC services may "lock" the data exchange phase
	into using the QOP and service used on the first data exchange
	message.

--b.

      reply	other threads:[~2016-08-03 19:34 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19 14:51 Problem re-establishing GSS contexts after a server reboot Chuck Lever
2016-07-20  9:14 ` Adamson, Andy
2016-07-20 16:56   ` Olga Kornievskaia
2016-07-21  6:55     ` Chuck Lever
2016-07-21 16:04       ` Olga Kornievskaia
2016-07-21 17:56         ` Chuck Lever
2016-07-21 19:54           ` Olga Kornievskaia
2016-07-21 20:46             ` Olga Kornievskaia
2016-07-21 21:32               ` Chuck Lever
2016-07-25 18:18                 ` Olga Kornievskaia
2016-07-29 16:27                   ` Olga Kornievskaia
2016-07-29 16:38                     ` Chuck Lever
2016-07-29 17:07                       ` Adamson, Andy
2016-07-29 17:32                         ` Adamson, Andy
2016-07-29 22:24                           ` Olga Kornievskaia
2016-08-02 18:06                       ` J. Bruce Fields
2016-08-03 18:53                         ` Adamson, Andy
2016-08-03 19:56                           ` Olga Kornievskaia
2016-08-03 20:06                             ` J. Bruce Fields
2016-08-03 20:11                               ` Olga Kornievskaia
2016-08-03 20:18                               ` Adamson, Andy
2016-08-03 20:33                                 ` Trond Myklebust
2016-08-03 21:12                                   ` Adamson, Andy
2016-08-03 19:14                         ` Chuck Lever
2016-08-03 19:34                           ` J. Bruce Fields [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=20160803193405.GA5901@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=William.Adamson@netapp.com \
    --cc=aglo@umich.edu \
    --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