[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Mon Mar 29 14:28:07 MDT 2010


The branch, master has been updated
       via  4c6cde9... s3:winbindd: correctly retry if the netlogon pipe gets disconnected during a logon call
      from  c5d1d68... s4:registry/util.c - remove those "talloc_free"s

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 4c6cde99c0751a073120d8bc36d40922d8027344
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Mar 29 22:03:55 2010 +0200

    s3:winbindd: correctly retry if the netlogon pipe gets disconnected during a logon call
    
    This fixes hopefully the last part of bug #7295.
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd_pam.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 86c7bbf..62f3e54 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1360,7 +1360,7 @@ static NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain,
 		   might not yet have noticed that the DC has killed
 		   our connection. */
 
-		if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL)) {
+		if (!rpccli_is_connected(netlogon_pipe)) {
 			retry = true;
 			continue;
 		}
@@ -1935,7 +1935,7 @@ enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain,
 		   might not yet have noticed that the DC has killed
 		   our connection. */
 
-		if (NT_STATUS_EQUAL(result, NT_STATUS_UNSUCCESSFUL)) {
+		if (!rpccli_is_connected(netlogon_pipe)) {
 			retry = true;
 			continue;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list