} else if (ui->auth_description != NULL &&
strncmp("ServerAuthenticate", ui->auth_description, 18) == 0)
{
- if (ui->netlogon_trust_account.negotiate_flags
- & NETLOGON_NEG_SUPPORTS_AES) {
+ if (ui->netlogon_trust_account.authenticate_kerberos) {
+ password_type = "Kerberos";
+ } else if (ui->netlogon_trust_account.negotiate_flags
+ & NETLOGON_NEG_SUPPORTS_AES) {
password_type = "HMAC-SHA256";
} else if (ui->netlogon_trust_account.negotiate_flags
& NETLOGON_NEG_STRONG_KEYS) {
struct {
uint32_t negotiate_flags;
+ bool authenticate_kerberos;
enum netr_SchannelType secure_channel_type;
const char *computer_name; /* [charset(UTF8)] */
const char *account_name; /* [charset(UTF8)] */