mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:kdc: Fail PAC checksum verification if the krbtgt entry has no keys
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
406af84ba2
commit
e546587280
@ -136,6 +136,7 @@ static NTSTATUS netr_samlogon_generic_logon(struct irpc_message *msg,
|
||||
*/
|
||||
skeys = sentry.keys;
|
||||
|
||||
code = EINVAL;
|
||||
for (i = 0; i < skeys.len; i++) {
|
||||
krb5_keyblock krbtgt_keyblock = skeys.val[i].key;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user