s3-winbind: fix winbindd_dual_pam_auth_samlogon() for NT4 domains.
authorGünther Deschner <gd@samba.org>
Mon, 24 Jan 2011 10:48:36 +0000 (11:48 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 24 Jan 2011 11:35:42 +0000 (12:35 +0100)
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

source3/winbindd/winbindd_pam.c

index cbdd8f3f067acbad13c1a30e0a972e6a101073bf..0c0250e76f278ba9e2c956120c90d43f7d0c33f7 100644 (file)
@@ -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;
                }