summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 13:42:20 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:08 +0200
commit9b40092cbd2ee9b9942a4f5ee6041354cffc9227 (patch)
tree94b1198e3cd34d041a75a458115f44cdfaa194b5
parenta46b26556356d20e569ccdb408dd13214e85cf5d (diff)
downloadsamba-9b40092cbd2ee9b9942a4f5ee6041354cffc9227.tar.gz
samba-9b40092cbd2ee9b9942a4f5ee6041354cffc9227.tar.bz2
samba-9b40092cbd2ee9b9942a4f5ee6041354cffc9227.zip
s3:net_rpc: make use of cli_state_remote_sockaddr()
metze
-rw-r--r--source3/utils/net_rpc.c3
1 files changed, 2 insertions, 1 deletions
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;