Skip to content

Various gssd fixes including machine-credential issue.

Neil Brown linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3krb5_utils: remove redundant array size.utils/gssd/krb5_util.c+1 -11 reply
2/3krb5_util: don't give up on machine credential if hostname not available.utils/gssd/krb5_util.c+6 -24 replies
3/3gssd: add -N option to use root credentials as machine credentials.utils/gssd/gssd.c utils/gssd/gssd.h utils/gssd/gssd.man +1 more+26 -92 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Various gssd fixes including machine-credential issue.

As you probably know, since 3.7 (I think) Linux NFS has explicitly asked for machine credentials for certain requests rather than asking for root credentials as is previously did.
This causes a regression for people who don't have any machine credentials configured and use "gssd -n".

I gather this was discussed on the mailing list earlier this year but not resolved.

I would like to re-awaken the issue and offer a resolution (which has been tested and found effective by a customer).

Hence these three patches. The first two are minor issues that I stumbled over while trying to understand the problem and are not critical but probably should be fixed.

The third addresses the above mentioned issue. It introduces a variable "machine_uses_root_credentials" which is similar to the current "root_uses_machine_credentials". It also adds a "-N" flag to set this variable.

I'm not certain what the defaults should be. For backward compatibility it would be best if '-n' set the this new variable as well as clearing the old one, but then I'm not sure what exactly -N should do.

Comments welcome.

Thanks,
NeilBrown

---

Neil Brown (3):
krb5_utils: remove redundant array size.
krb5_util: don't give up on machine credential if hostname not available.
gssd: add -N option to use root credentials as machine credentials.

 utils/gssd/gssd.c      |    9 ++++++---
 utils/gssd/gssd.h      |    1 +
 utils/gssd/gssd.man    |   13 ++++++++++++-
 utils/gssd/gssd_proc.c |   12 +++++++-----
 utils/gssd/krb5_util.c |   10 +++++++---
 5 files changed, 33 insertions(+), 12 deletions(-)
Signature · 1 line
Signature