summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-19 17:15:23 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:44 +0200
commit987e81b0ee681a25a8e3308169626a2206e3fd26 (patch)
tree9448f3f6d070795687a8bd845f22ee5584da9ac2 /source3/libnet
parent8e24e7f6b81871876e14f73424fe44bf26280560 (diff)
downloadsamba-987e81b0ee681a25a8e3308169626a2206e3fd26.tar.gz
samba-987e81b0ee681a25a8e3308169626a2206e3fd26.tar.bz2
samba-987e81b0ee681a25a8e3308169626a2206e3fd26.zip
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/libnet')
-rw-r--r--source3/libnet/libnet_join.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 1736ba65fa..2b832d8024 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -38,6 +38,7 @@
#include "../libcli/security/security.h"
#include "passdb.h"
#include "libsmb/libsmb.h"
+#include "../libcli/smb/smbXcli_base.h"
/****************************************************************
****************************************************************/
@@ -1977,7 +1978,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
create_local_private_krb5_conf_for_domain(
r->out.dns_domain_name, r->out.netbios_domain_name,
- NULL, cli_state_remote_sockaddr(cli),
+ NULL, smbXcli_conn_remote_sockaddr(cli->conn),
cli_state_remote_name(cli));
if (r->out.domain_is_ad && r->in.account_ou &&