1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

s4:mitkdc: Pass NULL to ks_get_pac() as the client_key

This is unused with MIT KRB5 < 1.20 as this is probably not the right key.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2021-12-13 15:48:08 +01:00 committed by Andrew Bartlett
parent e95fb04c5d
commit 731d9c42d0

View File

@ -431,7 +431,7 @@ krb5_error_code kdb_samba_db_sign_auth_data(krb5_context context,
code = ks_get_pac(context,
client_entry,
server,
client_key,
NULL,
&pac);
if (code != 0) {
goto done;
@ -484,7 +484,7 @@ krb5_error_code kdb_samba_db_sign_auth_data(krb5_context context,
code = ks_get_pac(context,
client_entry,
server,
client_key,
NULL,
&pac);
if (code != 0 && code != ENOENT) {
goto done;