summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-01-24 11:48:36 +0100
committerGünther Deschner <gd@samba.org>2011-01-24 12:35:42 +0100
commitcea36aeacf8778493463f31e6afc3f58384639e2 (patch)
tree1780a03810171adfc8c4269e43c83d413aee8b18 /source3
parent509dd57d68ba45cd5189c9bafe7f65ecb198b6db (diff)
downloadsamba-cea36aeacf8778493463f31e6afc3f58384639e2.tar.gz
samba-cea36aeacf8778493463f31e6afc3f58384639e2.tar.bz2
samba-cea36aeacf8778493463f31e6afc3f58384639e2.zip
s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains.
After failing the netr_LogonSamLogonEx, we failed to retry with netr_LogonSamLogon. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 24 12:35:42 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index cbdd8f3f06..0c0250e76f 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1263,6 +1263,7 @@ static NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain,
DEBUG(3, ("Got a DC that can not do NetSamLogonEx, "
"retrying with NetSamLogon\n"));
domain->can_do_samlogon_ex = false;
+ retry = true;
continue;
}