From 9b40092cbd2ee9b9942a4f5ee6041354cffc9227 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 13:42:20 +0200 Subject: s3:net_rpc: make use of cli_state_remote_sockaddr() metze --- source3/utils/net_rpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index d0cc2d1043..746b2f7bb8 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -3976,7 +3976,8 @@ static NTSTATUS rpc_share_migrate_files_internals(struct net_context *c, /* open share source */ nt_status = connect_to_service(c, &cp_clistate.cli_share_src, - &cli->dest_ss, cli->desthost, + cli_state_remote_sockaddr(cli), + cli->desthost, info502.name, "A:"); if (!NT_STATUS_IS_OK(nt_status)) goto done; -- cgit