diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-10-28 11:31:37 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-12-20 00:24:32 -0500 |
commit | 632260bd1fccfb420f0827b59c85c329203eafc9 (patch) | |
tree | 9260574df3a0f1e6ee347836b6f8486c1cfcd3be /src/lib/krb5/krb/int-proto.h | |
parent | f730fddc59265ee1621ec39f847ea047116a2127 (diff) | |
download | krb5-632260bd1fccfb420f0827b59c85c329203eafc9.zip krb5-632260bd1fccfb420f0827b59c85c329203eafc9.tar.gz krb5-632260bd1fccfb420f0827b59c85c329203eafc9.tar.bz2 |
Pass through module errors when preauthenticating
If we are responding to a KDC_ERR_PREAUTH_REQUIRED and cannot
preauthenticate, report the error from the first real preauth type we
tried.
k5_preauth() now accepts a boolean input indicating that it must
succeed on a real preauth type, instead of returning a boolean saying
whether or not it did.
ticket: 7517 (new)
Diffstat (limited to 'src/lib/krb5/krb/int-proto.h')
-rw-r--r-- | src/lib/krb5/krb/int-proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/int-proto.h b/src/lib/krb5/krb/int-proto.h index 12bee33..ca534cd 100644 --- a/src/lib/krb5/krb/int-proto.h +++ b/src/lib/krb5/krb/int-proto.h @@ -208,7 +208,7 @@ k5_preauth(krb5_context context, krb5_gic_opt_ext *opte, krb5_clpreauth_rock rock, krb5_kdc_req *req, krb5_data *req_body, krb5_data *prev_req, krb5_pa_data **in_padata, krb5_prompter_fct prompter, void *prompter_data, - krb5_pa_data ***padata_out, krb5_boolean *got_real_out); + krb5_boolean must_preauth, krb5_pa_data ***padata_out); krb5_error_code k5_preauth_tryagain(krb5_context context, krb5_gic_opt_ext *opte, |