[SCM] SAMBA-CTDB repository - branch v3-4-ctdb updated - 3.4.2-ctdb-12-11-gdd28b38

Michael Adam obnox at samba.org
Tue Nov 24 15:22:56 MST 2009


The branch, v3-4-ctdb has been updated
       via  dd28b38220f1ed09f4af8caccca9246ea2c12eab (commit)
      from  62f594d732f28a8341ccc93e0ddade9286c6abf7 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-4-ctdb


- Log -----------------------------------------------------------------
commit dd28b38220f1ed09f4af8caccca9246ea2c12eab
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Nov 24 16:51:30 2009 +0100

    s3: Always try SamLogonEx
    
    Required for cluster systems working in a Samba domain. With NT4 this won't
    work, but real NT4 DCs should not be around in environments that pay big bucks
    for a cluster... And if they are, they can always install a Samba DC trusting
    that NT4 domain.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 4571f22..a583b0f 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -2387,9 +2387,13 @@ NTSTATUS cm_connect_netlogon(struct winbindd_domain *domain,
 	}
 
 	/*
-	 * Try NetSamLogonEx for AD domains
+	 * Always try netr_LogonSamLogonEx. We will fall back for NT4
+	 * which gives DCERPC_FAULT_OP_RNG_ERROR (function not
+	 * supported). We used to only try SamLogonEx for AD, but
+	 * Samba DCs can also do it. And because we don't distinguish
+	 * between Samba and NT4, always try it once.
 	 */
-	domain->can_do_samlogon_ex = domain->active_directory;
+	domain->can_do_samlogon_ex = true;
 
 	*cli = conn->netlogon_pipe;
 	return NT_STATUS_OK;


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list