From: Günther Deschner Date: Mon, 24 Jan 2011 10:48:36 +0000 (+0100) Subject: s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains. X-Git-Tag: tevent-0.9.11~1272 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cea36aeacf8778493463f31e6afc3f58384639e2;p=thirdparty%2Fsamba.git 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 Autobuild-Date: Mon Jan 24 12:35:42 CET 2011 on sn-devel-104 --- diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index cbdd8f3f067..0c0250e76f2 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; }