[krbdev.mit.edu #7740] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Oct 30 12:38:07 EDT 2013


Accept anonymous GSS names in kadmind

The krb5 implementation of gss_display_name() reports the name type as
GSS_C_NT_ANONYMOUS if the client uses an anonymous principal.  Accept
this name type in gss_name_to_string and gss_to_krb5_name so that
anonymous kadmin can work.

Also improve code hygiene: call gss_name_to_string from
gss_to_krb5_name to reduce code repetition; use gss_oid_equal instead
of pointer comparison for name types; and don't assume that the
gss_display_name result buffer is zero-terminated.

https://github.com/krb5/krb5/commit/664f0d779ddc0aaf54a118a98a21ce7d53d81e08
Author: Greg Hudson <ghudson at mit.edu>
Commit: 664f0d779ddc0aaf54a118a98a21ce7d53d81e08
Branch: master
 src/kadmin/server/server_stubs.c |   25 +++++++++++++++++++------
 1 files changed, 19 insertions(+), 6 deletions(-)



More information about the krb5-bugs mailing list