summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 11:23:48 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:08 +0200
commitacf4b84cbf55dc3899a5005e73c1f55fbf8e5347 (patch)
treebf1dd4ea37bea79b7846382b0764d4512acfc676 /source3
parent8bea5d64029f4903bf403dc574588af3eace3680 (diff)
downloadsamba-acf4b84cbf55dc3899a5005e73c1f55fbf8e5347.tar.gz
samba-acf4b84cbf55dc3899a5005e73c1f55fbf8e5347.tar.bz2
samba-acf4b84cbf55dc3899a5005e73c1f55fbf8e5347.zip
s3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 16c068c66e..1f21229d35 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -2007,7 +2007,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->dest_ss, cli->desthost);
+ NULL, cli_state_remote_sockaddr(cli), cli->desthost);
if (r->out.domain_is_ad && r->in.account_ou &&
!(r->in.join_flags & WKSSVC_JOIN_FLAGS_JOIN_UNSECURE)) {