diff options
author | Luk Claes <luk@debian.org> | 2012-05-19 17:31:50 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-28 14:49:45 +0200 |
commit | 4f6f4ea93c83fa5154f450e2e43649467e4c2b32 (patch) | |
tree | 5d765e8b1d8bcf9215a4dce43585a69ccfc66819 /source3/rpcclient | |
parent | 987e81b0ee681a25a8e3308169626a2206e3fd26 (diff) | |
download | samba-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/rpcclient')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 43df6723fc..0c1a594dc3 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -32,6 +32,7 @@ #include "passdb.h" #include "libsmb/libsmb.h" #include "auth/gensec/gensec.h" +#include "../libcli/smb/smbXcli_base.h" enum pipe_auth_type_spnego { PIPE_AUTH_TYPE_SPNEGO_NONE = 0, @@ -707,7 +708,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, default_transport, oid, pipe_default_auth_level, - cli_state_remote_name(cli), + smbXcli_conn_remote_name(cli->conn), get_cmdline_auth_info_domain(auth_info), get_cmdline_auth_info_username(auth_info), get_cmdline_auth_info_password(auth_info), @@ -721,7 +722,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, default_transport, pipe_default_auth_type, pipe_default_auth_level, - cli_state_remote_name(cli), + smbXcli_conn_remote_name(cli->conn), get_cmdline_auth_info_domain(auth_info), get_cmdline_auth_info_username(auth_info), get_cmdline_auth_info_password(auth_info), |