mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3:net_rpc: make use of cli_state_remote_name()
metze
This commit is contained in:
@ -351,7 +351,7 @@ static NTSTATUS rpc_oldjoin_internals(struct net_context *c,
|
|||||||
if (!NT_STATUS_IS_OK(result)) {
|
if (!NT_STATUS_IS_OK(result)) {
|
||||||
DEBUG(0,("rpc_oldjoin_internals: netlogon pipe open to machine %s failed. "
|
DEBUG(0,("rpc_oldjoin_internals: netlogon pipe open to machine %s failed. "
|
||||||
"error was %s\n",
|
"error was %s\n",
|
||||||
cli->desthost,
|
cli_state_remote_name(cli),
|
||||||
nt_errstr(result) ));
|
nt_errstr(result) ));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@ -3977,7 +3977,7 @@ static NTSTATUS rpc_share_migrate_files_internals(struct net_context *c,
|
|||||||
/* open share source */
|
/* open share source */
|
||||||
nt_status = connect_to_service(c, &cp_clistate.cli_share_src,
|
nt_status = connect_to_service(c, &cp_clistate.cli_share_src,
|
||||||
cli_state_remote_sockaddr(cli),
|
cli_state_remote_sockaddr(cli),
|
||||||
cli->desthost,
|
cli_state_remote_name(cli),
|
||||||
info502.name, "A:");
|
info502.name, "A:");
|
||||||
if (!NT_STATUS_IS_OK(nt_status))
|
if (!NT_STATUS_IS_OK(nt_status))
|
||||||
goto done;
|
goto done;
|
||||||
|
Reference in New Issue
Block a user