1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

winbindd: pass 'bool interactive' to winbind_dual_SamLogon()

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13258

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-01-23 17:37:54 +01:00 committed by Ralph Boehme
parent 2268f1c0dd
commit 8c6c47aec0
3 changed files with 6 additions and 2 deletions

View File

@ -891,6 +891,7 @@ NTSTATUS _winbind_SamLogon(struct pipes_struct *p,
nt_response = data_blob_talloc(p->mem_ctx, r->in.logon.network->nt.data, r->in.logon.network->nt.length);
status = winbind_dual_SamLogon(domain, p->mem_ctx,
false, /* interactive */
r->in.logon.network->identity_info.parameter_control,
r->in.logon.network->identity_info.account_name.string,
r->in.logon.network->identity_info.domain_name.string,

View File

@ -2201,6 +2201,7 @@ done:
NTSTATUS winbind_dual_SamLogon(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
bool interactive,
uint32_t logon_parameters,
const char *name_user,
const char *name_domain,
@ -2237,7 +2238,7 @@ NTSTATUS winbind_dual_SamLogon(struct winbindd_domain *domain,
logon_parameters,
name_domain, name_user,
&chal_blob, &lm_response, &nt_response,
false, /* interactive */
interactive,
authoritative,
&info3);
if (NT_STATUS_IS_OK(result)) {
@ -2273,7 +2274,7 @@ NTSTATUS winbind_dual_SamLogon(struct winbindd_domain *domain,
chal,
lm_response,
nt_response,
false, /* interactive */
interactive,
authoritative,
flags,
&validation_level,
@ -2417,6 +2418,7 @@ enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain,
result = winbind_dual_SamLogon(domain,
state->mem_ctx,
false, /* interactive */
state->request->data.auth_crap.logon_parameters,
name_user,
name_domain,

View File

@ -421,6 +421,7 @@ NTSTATUS winbindd_pam_auth_pac_send(struct winbindd_cli_state *state,
NTSTATUS winbind_dual_SamLogon(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
bool interactive,
uint32_t logon_parameters,
const char *name_user,
const char *name_domain,