summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-19 17:31:50 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:45 +0200
commit4f6f4ea93c83fa5154f450e2e43649467e4c2b32 (patch)
tree5d765e8b1d8bcf9215a4dce43585a69ccfc66819 /source3/utils/net_rpc.c
parent987e81b0ee681a25a8e3308169626a2206e3fd26 (diff)
downloadsamba-4f6f4ea93c83fa5154f450e2e43649467e4c2b32.tar.gz
samba-4f6f4ea93c83fa5154f450e2e43649467e4c2b32.tar.bz2
samba-4f6f4ea93c83fa5154f450e2e43649467e4c2b32.zip
s3:libsmb: get rid of cli_state_remote_name
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/utils/net_rpc.c')
-rw-r--r--source3/utils/net_rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 3196b4f871..37f088dae8 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -207,7 +207,7 @@ int run_rpc_command(struct net_context *c,
NCACN_IP_TCP : NCACN_NP,
DCERPC_AUTH_TYPE_NTLMSSP,
DCERPC_AUTH_LEVEL_PRIVACY,
- cli_state_remote_name(cli),
+ smbXcli_conn_remote_name(cli->conn),
lp_workgroup(), c->opt_user_name,
c->opt_password, &pipe_hnd);
} else {
@@ -353,7 +353,7 @@ static NTSTATUS rpc_oldjoin_internals(struct net_context *c,
if (!NT_STATUS_IS_OK(result)) {
DEBUG(0,("rpc_oldjoin_internals: netlogon pipe open to machine %s failed. "
"error was %s\n",
- cli_state_remote_name(cli),
+ smbXcli_conn_remote_name(cli->conn),
nt_errstr(result) ));
return result;
}
@@ -3983,7 +3983,7 @@ 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,
smbXcli_conn_remote_sockaddr(cli->conn),
- cli_state_remote_name(cli),
+ smbXcli_conn_remote_name(cli->conn),
info502.name, "A:");
if (!NT_STATUS_IS_OK(nt_status))
goto done;