diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-06-03 20:39:08 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-06-03 20:39:08 -0400 |
commit | 71ca96850348569a7358b32301bb0cc60eb08103 (patch) | |
tree | 806707982ed9509b3349167e012d86f26f6240eb /src/tests/gssapi/t_gssapi.py | |
parent | 51d406d8317aa9954cedb4f396303af8fcbef2f0 (diff) | |
download | krb5-71ca96850348569a7358b32301bb0cc60eb08103.tar.gz krb5-71ca96850348569a7358b32301bb0cc60eb08103.tar.xz krb5-71ca96850348569a7358b32301bb0cc60eb08103.zip |
Use first mech's status in gss_acquire_cred
If we can't acquire creds for any mech in gss_acquire_cred, return the
status of the first mech instead of the last mech, as it's more useful
in the typical case (where the first mech is krb5 and the last mech is
SPNEGO). This error reporting is not ideal when the user was
expecting to use some mech other than krb5, but it's about as good as
things were prior to #6894.
ticket: 6973
Diffstat (limited to 'src/tests/gssapi/t_gssapi.py')
0 files changed, 0 insertions, 0 deletions