mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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 7c9fa597d6
)
This commit is contained in:
parent
a3081ba5b5
commit
a62cc94443
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user