mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:kdc: Note correct constant
KRB5_PADATA_PW_SALT is wrong. It’s an unrelated constant that just happens to share the same value. Heimdal uses the correct constant, kERB_ERR_TYPE_EXTENDED. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f1a204d315
commit
7e32c7655d
@ -867,7 +867,7 @@ static void samba_kdc_build_edata_reply(NTSTATUS nt_status, DATA_BLOB *e_data)
|
||||
e_data->length = 0;
|
||||
|
||||
pa.magic = KV5M_PA_DATA;
|
||||
pa.pa_type = KRB5_PADATA_PW_SALT;
|
||||
pa.pa_type = KRB5_PADATA_PW_SALT /* KERB_ERR_TYPE_EXTENDED */;
|
||||
pa.length = 12;
|
||||
pa.contents = malloc(pa.length);
|
||||
if (!pa.contents) {
|
||||
|
Loading…
Reference in New Issue
Block a user