mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:kdc: Correctly extract older NT hash
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
c6fec5156f
commit
9149d1d338
@ -689,7 +689,7 @@ krb5_error_code samba_kdc_message2entry_keys(krb5_context context,
|
||||
old_hash = &ntPwdHistory[1];
|
||||
}
|
||||
if (num_ntPwdHistory > 2) {
|
||||
older_hash = &ntPwdHistory[1];
|
||||
older_hash = &ntPwdHistory[2];
|
||||
}
|
||||
sc_val = ldb_msg_find_ldb_val(msg, "supplementalCredentials");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user