Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit X-RT-Original-Encoding: iso-8859-1 Content-Length: 814 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 Commit: 664f0d779ddc0aaf54a118a98a21ce7d53d81e08 Branch: master src/kadmin/server/server_stubs.c | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-)