summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 999cb156ed..41f38a421d 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1235,7 +1235,7 @@ static NTSTATUS winbind_samlogon_retry_loop(struct winbindd_domain *domain,
result = rpccli_netlogon_sam_network_logon_ex(
netlogon_pipe,
mem_ctx,
- 0,
+ logon_parameters,
server, /* server name */
username, /* user name */
domainname, /* target domain */
@@ -1249,7 +1249,7 @@ static NTSTATUS winbind_samlogon_retry_loop(struct winbindd_domain *domain,
result = rpccli_netlogon_sam_network_logon(
netlogon_pipe,
mem_ctx,
- 0,
+ logon_parameters,
server, /* server name */
username, /* user name */
domainname, /* target domain */