The Samba-Bugzilla – Attachment 6280 Details for
Bug 7888
Should you enter wrong password, all following atttempts result in error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Equivalent patch for 3.6
7888-3.6.patch (text/plain), 1.73 KB, created by
Volker Lendecke
on 2011-03-05 15:45:55 UTC
(
hide
)
Description:
Equivalent patch for 3.6
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-03-05 15:45:55 UTC
Size:
1.73 KB
patch
obsolete
>From f56922a77fb0370dce6811ce5b84c64f62ee3f2a Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Sat, 5 Mar 2011 17:43:41 +0100 >Subject: [PATCH] s3: Fix bug 7888 -- deal with buggy 3.0 based PDCs > >--- > source3/winbindd/winbindd_pam.c | 31 +++++++++++++++++++++---------- > 1 files changed, 21 insertions(+), 10 deletions(-) > >diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c >index 44de3e3..c89097d 100644 >--- a/source3/winbindd/winbindd_pam.c >+++ b/source3/winbindd/winbindd_pam.c >@@ -1249,18 +1249,29 @@ static NTSTATUS winbind_samlogon_retry_loop(struct winbindd_domain *domain, > info3); > } > >- if ((NT_STATUS_V(result) == DCERPC_FAULT_OP_RNG_ERROR) >- && domain->can_do_samlogon_ex) { >- DEBUG(3, ("Got a DC that can not do NetSamLogonEx, " >- "retrying with NetSamLogon\n")); >- domain->can_do_samlogon_ex = false; >+ if (NT_STATUS_V(result) == DCERPC_FAULT_OP_RNG_ERROR) { >+ if (domain->can_do_samlogon_ex) { >+ DEBUG(3, ("Got a DC that can not do " >+ "NetSamLogonEx, retrying with " >+ "NetSamLogon\n")); >+ domain->can_do_samlogon_ex = false; >+ /* >+ * It's likely that the server also >+ * does not support validation level 6 >+ */ >+ domain->can_do_validation6 = false; >+ retry = true; >+ continue; >+ } >+ > /* >- * It's likely that the server also does not support >- * validation level 6 >+ * Got DCERPC_FAULT_OP_RNG_ERROR for SamLogon >+ * (no Ex). This happens against old Samba >+ * DCs. Drop the connection. > */ >- domain->can_do_validation6 = false; >- retry = true; >- continue; >+ invalidate_cm_connection(&domain->conn); >+ result = NT_STATUS_LOGON_FAILURE; >+ break; > } > > if (domain->can_do_validation6 && >-- >1.7.3.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7888
:
6165
|
6166
|
6167
|
6168
|
6279
|
6280
|
6651
|
6958