summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_pam.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-28 12:29:54 -0700
committerJeremy Allison <jra@samba.org>2011-10-28 23:04:47 +0200
commitf30f71c14a0b89dea296910ac9b92d3ae4016613 (patch)
tree7ca28fba431b0edfc2bd7160a4802400b245fe4c /source3/winbindd/winbindd_pam.c
parent8c6ff21782b141571dde64e80cc42540e9177a23 (diff)
downloadsamba-f30f71c14a0b89dea296910ac9b92d3ae4016613.tar.gz
samba-f30f71c14a0b89dea296910ac9b92d3ae4016613.tar.bz2
samba-f30f71c14a0b89dea296910ac9b92d3ae4016613.zip
Fix bug #8548 - winbind_samlogon_retry_loop ignores logon_parameters flags.
Fix confirmed by reporter. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 28 23:04:47 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd/winbindd_pam.c')
-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 */