All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] gssd: add the GSSAPI acceptor name to the info passed in downcall
@ 2014-04-10 20:30 Jeff Layton
  2014-04-10 20:30 ` [PATCH 1/5] gssd: handle malloc failure appropriately in do_downcall Jeff Layton
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Jeff Layton @ 2014-04-10 20:30 UTC (permalink / raw)
  To: steved; +Cc: trond.myklebust, linux-nfs

Recently, I started a mailing list thread about some authentication
failures that I was seeing on the callback channel when krb5 was in use.

After a bit of discussion we determined that the right way to fix it
was to save off the GSSAPI acceptor name used in the SETCLIENT call,
and then ensure that the same principal is used in callback requests.

This patchset is the userland portion of that change. It basically
just adds the acceptor name to the downcall, immediately following
the context token. Older kernel will just ignore this data, so this
should be safe.

There is also a companion kernel patchset that will allow the kernel
to save off this info for later usage.

Jeff Layton (5):
  gssd: handle malloc failure appropriately in do_downcall
  gssd: make do_downcall a void return
  gssd: move hostbased name routines into separate file
  gssd: add new routine for generating a hostbased principal in a
    gss_buffer_t
  gssd: scrape the acceptor name out of the context

 utils/gssd/Makefile.am    |   2 +
 utils/gssd/gss_names.c    | 138 ++++++++++++++++++++++++++++++++++++++++++++++
 utils/gssd/gss_names.h    |  36 ++++++++++++
 utils/gssd/gssd_proc.c    |  52 +++++++++++------
 utils/gssd/svcgssd_proc.c |  66 +---------------------
 5 files changed, 213 insertions(+), 81 deletions(-)
 create mode 100644 utils/gssd/gss_names.c
 create mode 100644 utils/gssd/gss_names.h

-- 
1.9.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-04-14 18:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10 20:30 [PATCH 0/5] gssd: add the GSSAPI acceptor name to the info passed in downcall Jeff Layton
2014-04-10 20:30 ` [PATCH 1/5] gssd: handle malloc failure appropriately in do_downcall Jeff Layton
2014-04-10 20:31 ` [PATCH 2/5] gssd: make do_downcall a void return Jeff Layton
2014-04-10 20:31 ` [PATCH 3/5] gssd: move hostbased name routines into separate file Jeff Layton
2014-04-10 20:31 ` [PATCH 4/5] gssd: add new routine for generating a hostbased principal in a gss_buffer_t Jeff Layton
2014-04-10 20:31 ` [PATCH 5/5] gssd: scrape the acceptor name out of the context Jeff Layton
2014-04-11 11:04   ` Jeff Layton
2014-04-14 15:07   ` Steve Dickson
2014-04-14 15:48     ` Jeff Layton
2014-04-14 18:09       ` Steve Dickson
2014-04-14 18:36       ` Simo Sorce
2014-04-14 18:44         ` Jeff Layton
2014-04-14 18:45           ` Simo Sorce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.