From: "J. Bruce Fields" <bfields@fieldses.org>
To: Jeff Layton <jlayton@redhat.com>
Cc: Michael Gliwinski <Michael.Gliwinski@henderson-group.com>,
Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: gss context cache
Date: Mon, 30 Sep 2013 11:00:13 -0400 [thread overview]
Message-ID: <20130930150013.GH16579@fieldses.org> (raw)
In-Reply-To: <20130930100000.70578c80@tlielax.poochiereds.net>
On Mon, Sep 30, 2013 at 10:00:00AM -0400, Jeff Layton wrote:
> On Mon, 30 Sep 2013 13:06:47 +0100
> Michael Gliwinski <Michael.Gliwinski@henderson-group.com> wrote:
>
> > Hi all,
> >
> > On RHEL6 nfs-utils-1.2.3-36
> >
> > man rpc.gssd says it -t wasn't specified then kernel gss contexts will be
> > cached for the lifettime of the Kerberos service ticket used in its creation.
> > Is there a way to see the contexts + service tickets in that cache?
> >
>
> No, AFAIK.
>
> > Also, is there any way short of rebooting the client to evict one entry from
> > that cache, or even clear the cache entirely?
> >
>
> There is a gss_destroy_creds script which ships as part of nfs-utils.
> That should basically do what you need, but it's not well-documented so
> you'll have to play with it some...
My memory is that depended on some undocumented feature of the upcall
since removed. (Maybe the ability to send a downcall that isn't a
response to some upcall?) But I may be misremembering. Somebody should
probably check and remove that script (and gss_cltn_send_err) if I'm
right.
--b.
>
> > (looking for this as I had situations where access was denied by the NFS
> > server and I could see the principal was getting mapped to nfsnobody, etc. and
> > was suspecting the account was changed on the KDC and the old context/ticket
> > may have been causing problems)
> >
>
>
> --
> Jeff Layton <jlayton@redhat.com>
> --
> 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
next prev parent reply other threads:[~2013-09-30 15:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-30 12:06 gss context cache Michael Gliwinski
2013-09-30 14:00 ` Jeff Layton
2013-09-30 15:00 ` J. Bruce Fields [this message]
2013-09-30 15:53 ` Jeff Layton
2013-09-30 18:04 ` Jeff Layton
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=20130930150013.GH16579@fieldses.org \
--to=bfields@fieldses.org \
--cc=Michael.Gliwinski@henderson-group.com \
--cc=jlayton@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).