Fixed incorrect NTLM version. It was 00 earlier,

changed it to 0f(15). Also made the reserved field
before it 00 00 00 instead of 0f 00 00.
This commit is contained in:
Sushant Mathur
2018-09-06 08:11:35 +05:30
committed by Jeffrey Altman
parent 785db7b740
commit 622c4ded2f

View File

@@ -636,10 +636,10 @@ encode_os_version(krb5_storage *out)
CHECK(krb5_store_uint8(out, 0x06), 0);
CHECK(krb5_store_uint8(out, 0x01), 0);
CHECK(krb5_store_uint16(out, 0x1db0), 0);
CHECK(krb5_store_uint8(out, 0x00), 0);
CHECK(krb5_store_uint8(out, 0x00), 0);
CHECK(krb5_store_uint8(out, 0x00), 0);
CHECK(krb5_store_uint8(out, 0x0f), 0); /* ntlm version 15 */
CHECK(krb5_store_uint8(out, 0x00), 0);
CHECK(krb5_store_uint8(out, 0x00), 0);
CHECK(krb5_store_uint8(out, 0x00), 0);
out:
return ret;
}