Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/2] nfs-utils: gssd: do not use krb5_initialize
@ 2025-02-25 21:46 Olga Kornievskaia
  2025-02-25 21:46 ` [PATCH 1/2] nfs-utils: gssd: unconditionally use krb5_get_init_creds_opt_alloc Olga Kornievskaia
  2025-02-25 21:46 ` [PATCH 2/2] nfs-utils: gssd: do not use krb5_cc_initialize Olga Kornievskaia
  0 siblings, 2 replies; 6+ messages in thread
From: Olga Kornievskaia @ 2025-02-25 21:46 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs, Olga Kornievskaia

It was discovered that on parallel upcalls to gssd for uid=0,
one of the upcalls would fail because krb5_cc_initialize() is
not concurrency safe.

It was suggested that instead gssd is changed to use a different
sequence of api calls that kinit uses.

https://mailman.mit.edu/pipermail/krbdev/2025-February/013708.html

Olga Kornievskaia (2):
  nfs-utils: gssd: unconditionally use krb5_get_init_creds_opt_alloc
  nfs-utils: gssd: do not use krb5_cc_initialize

 utils/gssd/krb5_util.c | 140 ++++++++++++++++++-----------------------
 1 file changed, 60 insertions(+), 80 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2025-03-24 20:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 21:46 [PATCH 0/2] nfs-utils: gssd: do not use krb5_initialize Olga Kornievskaia
2025-02-25 21:46 ` [PATCH 1/2] nfs-utils: gssd: unconditionally use krb5_get_init_creds_opt_alloc Olga Kornievskaia
2025-03-24 20:24   ` Steve Dickson
2025-03-24 20:24   ` Steve Dickson
2025-02-25 21:46 ` [PATCH 2/2] nfs-utils: gssd: do not use krb5_cc_initialize Olga Kornievskaia
2025-03-24 20:26   ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox