From 18b3960ba9b3e07ca1c2abf1de24ef07f9f9dab3 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 18 Dec 2007 01:55:32 +0100 Subject: [PATCH] Fix logic error in cm_connect_sam(). Don't fall back to schannel when trust creds could be obtained. This is still not complete, but I am getting closer. Michael --- source/nsswitch/winbindd_cm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/nsswitch/winbindd_cm.c b/source/nsswitch/winbindd_cm.c index e258225a4a3..6dc2522db07 100644 --- a/source/nsswitch/winbindd_cm.c +++ b/source/nsswitch/winbindd_cm.c @@ -1757,7 +1757,6 @@ NTSTATUS cm_connect_sam(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, goto schannel; } domain_name = domain->name; - goto schannel; } else { machine_password = SMB_STRDUP(conn_pwd); machine_account = SMB_STRDUP(conn->cli->user_name); -- 2.11.4.GIT