} netlogon_trust_account;
const char *service_description;
+ const char *auth_description;
};
struct auth_method_context;
user_info->remote_host = gensec_get_remote_address(gensec_security);
user_info->service_description
= gensec_get_target_service_description(gensec_security);
+ user_info->auth_description = "NTLMSSP";
user_info->password_state = AUTH_PASSWORD_RESPONSE;
user_info->password.response.lanman = ntlmssp_state->lm_resp;
return NT_STATUS_NO_MEMORY;
}
+ user_info->auth_description = "guest";
+
nt_status = auth_check_password_session_info(auth_context,
mem_ctx, user_info, session_info);
TALLOC_FREE(user_info);
sconn->remote_address,
"SMB",
lm_resp, nt_resp);
+ user_info->auth_description = "bare-NTLM";
+
if (NT_STATUS_IS_OK(nt_status)) {
nt_status = auth_check_password_session_info(negprot_auth_context,
req, user_info, &session_info);
nt_status = NT_STATUS_NO_MEMORY;
}
+ user_info->auth_description = "plaintext";
+
if (NT_STATUS_IS_OK(nt_status)) {
nt_status = auth_check_password_session_info(plaintext_auth_context,
req, user_info, &session_info);
user_info->remote_host = remote_address;
user_info->local_host = local_address;
- user_info->service_description = "ldap simple bind";
+ user_info->service_description = "ldap";
+
+ user_info->auth_description = "simple bind";
user_info->password_state = AUTH_PASSWORD_PLAIN;
user_info->password.plaintext = talloc_strdup(user_info, password);
case NetlogonServiceInformation:
case NetlogonInteractiveTransitiveInformation:
case NetlogonServiceTransitiveInformation:
+ user_info->auth_description = "interactive";
user_info->logon_parameters
= r->in.logon->password->identity_info.parameter_control;
break;
case NetlogonNetworkInformation:
case NetlogonNetworkTransitiveInformation:
+ user_info->auth_description = "network";
nt_status = auth_context_set_challenge(
auth_context,