mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
auth_log: prepare for netr_ServerAuthenticateKerberos
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
ff2e287585
commit
87b553084d
@ -754,7 +754,9 @@ static const char* get_password_type(const struct auth_usersupplied_info *ui)
|
||||
} else if (ui->auth_description != NULL &&
|
||||
strncmp("ServerAuthenticate", ui->auth_description, 18) == 0)
|
||||
{
|
||||
if (ui->netlogon_trust_account.negotiate_flags
|
||||
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
|
||||
|
@ -79,6 +79,7 @@ struct auth_usersupplied_info
|
||||
|
||||
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)] */
|
||||
|
Loading…
Reference in New Issue
Block a user