mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +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 7c9fa597d684a25822b4db6615f28336f2d64ef3)
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;
|
goto schannel;
|
||||||
}
|
}
|
||||||
domain_name = domain->name;
|
domain_name = domain->name;
|
||||||
goto schannel;
|
|
||||||
} else {
|
} else {
|
||||||
machine_password = SMB_STRDUP(conn_pwd);
|
machine_password = SMB_STRDUP(conn_pwd);
|
||||||
machine_account = SMB_STRDUP(conn->cli->user_name);
|
machine_account = SMB_STRDUP(conn->cli->user_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user