1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

Missed on instance of external creds.

Guenther
(This used to be commit 65d50f518766ab0a8115c2599d190e642eb00754)
This commit is contained in:
Günther Deschner 2007-12-18 02:52:34 +01:00
parent fb2c13fe19
commit 62b3fd209d

View File

@ -85,8 +85,10 @@ static WERROR NetJoinDomainRemote(TALLOC_CTX *mem_ctx,
status = cli_full_connection(&cli, NULL, server_name, status = cli_full_connection(&cli, NULL, server_name,
NULL, 0, NULL, 0,
"IPC$", "IPC", "IPC$", "IPC",
opt_user_name, opt_workgroup, ctx->username,
opt_password, 0, Undefined, NULL); ctx->workgroup,
ctx->password,
0, Undefined, NULL);
if (!NT_STATUS_IS_OK(status)) { if (!NT_STATUS_IS_OK(status)) {
werr = ntstatus_to_werror(status); werr = ntstatus_to_werror(status);