Skip to content

fix nfs server handling of principal names

J. Bruce Fields linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5svcrpc: move some initialization to common codenet/sunrpc/svcauth.c net/sunrpc/svcauth_unix.c+2 -80 replies
2/5nfsd: helper for dup of possibly NULL stringfs/nfsd/nfs4state.c+15 -60 replies
3/5nfsd: minor consolidation of mach_cred handling codefs/nfsd/nfs4state.c+10 -70 replies
4/5nfsd: fix unlikely NULL deref in mach_creds_matchfs/nfsd/nfs4state.c+9 -00 replies
5/5nfsd4: fix gss-proxy 4.1 mounts for some AD principalsfs/nfsd/nfs4state.c include/linux/sunrpc/svcauth.h net/sunrpc/auth_gss/gss_rpc_upcall.c+20 -22 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchJames Ralston
1/5
2/5
3/5
4/5
5/5Reported-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] fix nfs server handling of principal names

From: "J. Bruce Fields" <[email protected]>

Thanks to James Ralston for helping debug a problem with the server's handling of kerberos principal names, which could cause 4.1 mount failures when using Active Directory.

Along the way I noticed another bug and some opportunities for minor cleanup.

--b.

J. Bruce Fields (5):
svcrpc: move some initialization to common code
nfsd: helper for dup of possibly NULL string
nfsd: minor consolidation of mach_cred handling code
nfsd: fix unlikely NULL deref in mach_creds_match
nfsd4: fix gss-proxy 4.1 mounts for some AD principals

 fs/nfsd/nfs4state.c                  | 55 +++++++++++++++++++++++++++---------
 include/linux/sunrpc/svcauth.h       |  9 +++++-
 net/sunrpc/auth_gss/gss_rpc_upcall.c |  3 ++
 net/sunrpc/svcauth.c                 |  2 ++
 net/sunrpc/svcauth_unix.c            |  8 ------
 5 files changed, 55 insertions(+), 22 deletions(-)
Signature · 1 line
2.5.0