const DATA_BLOB *challenge,
const DATA_BLOB *lm_resp,
const DATA_BLOB *nt_resp,
+ bool interactive,
struct netr_SamInfo3 **pinfo3)
{
struct auth_context *auth_context;
/* We don't want to come back to winbindd or to do PAM account checks */
user_info->flags |= USER_INFO_LOCAL_SAM_ONLY | USER_INFO_INFO3_AND_NO_AUTHZ;
+ if (interactive) {
+ user_info->flags |= USER_INFO_INTERACTIVE_LOGON;
+ }
+
status = make_auth_context_fixed(frame, &auth_context, challenge->data);
if (!NT_STATUS_IS_OK(status)) {
result = winbindd_dual_auth_passdb(
mem_ctx, 0, name_domain, name_user,
- &chal_blob, &lm_resp, &nt_resp, info3);
+ &chal_blob, &lm_resp, &nt_resp,
+ true, /* interactive */
+ info3);
/*
* We need to try the remote NETLOGON server if this is NOT_IMPLEMENTED
mem_ctx,
logon_parameters,
name_domain, name_user,
- &chal_blob, &lm_response, &nt_response, info3);
+ &chal_blob, &lm_response, &nt_response,
+ false, /* interactive */
+ info3);
/*
* We need to try the remote NETLOGON server if this is NOT_IMPLEMENTED