heimdal:kdc: Match Windows error code for unsupported critical FAST options
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Luke Howard

parent
527906c821
commit
9b62d72d51
@@ -516,7 +516,7 @@ fast_unwrap_request(astgs_request_t r)
|
||||
if (FastOptions2int(fastreq.fast_options) & 0xfffc) {
|
||||
kdc_log(r->context, r->config, 2,
|
||||
"FAST unsupported mandatory option set");
|
||||
ret = KRB5KDC_ERR_PREAUTH_FAILED;
|
||||
ret = KRB5_KDC_ERR_UNKNOWN_CRITICAL_FAST_OPTIONS;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user