mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin()
metze
This commit is contained in:
parent
8bea5d6402
commit
acf4b84cbf
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user