summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-18 01:55:48 +0100
committerMichael Adam <obnox@samba.org>2007-12-18 01:55:48 +0100
commita62cc944435fb9964c765cb9495f18308823ac8f (patch)
treed1712ff457df4525311d3dc0aedf3d619820055b /source3
parenta3081ba5b52fd6174b4e84f69c8116b47fab6f0c (diff)
downloadsamba-a62cc944435fb9964c765cb9495f18308823ac8f.tar.gz
samba-a62cc944435fb9964c765cb9495f18308823ac8f.tar.bz2
samba-a62cc944435fb9964c765cb9495f18308823ac8f.zip
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 (This used to be commit 7c9fa597d684a25822b4db6615f28336f2d64ef3)
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_cm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 6c5633c2b2..8ea815535f 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -2003,7 +2003,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);