kdc: do not include PAC for anonymous AS requests
The PAC will typically contain information that may reveal the identity of a principal. Do not include it for anonymous requests, at least until such time as the PAC plugin API supports indicating that the request was anonymous.
This commit is contained in:

committed by
Jeffrey Altman

parent
2f013b0d48
commit
7a7eb9de2f
@@ -2239,7 +2239,7 @@ _kdc_as_rep(kdc_request_t r,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Add the PAC */
|
/* Add the PAC */
|
||||||
if (send_pac_p(context, req)) {
|
if (send_pac_p(context, req) && !_kdc_is_anon_request(b)) {
|
||||||
generate_pac(r, skey);
|
generate_pac(r, skey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user