diff options
author | Luk Claes <luk@debian.org> | 2012-05-19 17:15:23 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-28 14:49:44 +0200 |
commit | 987e81b0ee681a25a8e3308169626a2206e3fd26 (patch) | |
tree | 9448f3f6d070795687a8bd845f22ee5584da9ac2 /source3/utils/net_rpc_join.c | |
parent | 8e24e7f6b81871876e14f73424fe44bf26280560 (diff) | |
download | samba-987e81b0ee681a25a8e3308169626a2206e3fd26.tar.gz |
s3:libsmb: get rid of cli_state_*_sockaddr
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r-- | source3/utils/net_rpc_join.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index 73ea3e03987..06a01c06080 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -31,6 +31,7 @@ #include "secrets.h" #include "rpc_client/init_lsa.h" #include "libsmb/libsmb.h" +#include "../libcli/smb/smbXcli_base.h" /* Macro for checking RPC error codes to make things more readable */ @@ -513,7 +514,7 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv) /* double-check, connection from scratch */ status = net_rpc_join_ok(c, domain, cli_state_remote_name(cli), - cli_state_remote_sockaddr(cli)); + smbXcli_conn_remote_sockaddr(cli->conn)); retval = NT_STATUS_IS_OK(status) ? 0 : -1; done: |