diff options
| author | Greg Hudson <ghudson@mit.edu> | 2013-10-28 13:09:15 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2013-10-30 12:31:00 -0400 |
| commit | 664f0d779ddc0aaf54a118a98a21ce7d53d81e08 (patch) | |
| tree | 5cf06795ecd171aefb4abaa890a031200b31c749 /src/kadmin/cli | |
| parent | 64ec2941af1561ef06e7e885b2ffb65a675516ce (diff) | |
| download | krb5-664f0d779ddc0aaf54a118a98a21ce7d53d81e08.tar.gz krb5-664f0d779ddc0aaf54a118a98a21ce7d53d81e08.tar.xz krb5-664f0d779ddc0aaf54a118a98a21ce7d53d81e08.zip | |
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.
ticket: 7740 (new)
target_version: 1.12
tags: pullup
Diffstat (limited to 'src/kadmin/cli')
0 files changed, 0 insertions, 0 deletions
