summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-05-17 15:45:22 +0200
committerStefan Metzmacher <metze@samba.org>2017-06-27 16:57:43 +0200
commitfc2bad0cf34fca5e65fba7e036acf1d8c61f05c0 (patch)
treeb50d10705b9d47a3054b003c965dd1d4f8cfaa19 /source3
parent03e455f5a815ce2134e216dc28929646a964384f (diff)
downloadsamba-fc2bad0cf34fca5e65fba7e036acf1d8c61f05c0.tar.gz
s3:libnet_join: remember the domain_guid for AD domains
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_join.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 1e290d78570..37645a7790f 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1080,6 +1080,7 @@ static NTSTATUS libnet_join_lookup_dc_rpc(TALLOC_CTX *mem_ctx,
r->out.netbios_domain_name = info->dns.name.string;
r->out.dns_domain_name = info->dns.dns_domain.string;
r->out.forest_name = info->dns.dns_forest.string;
+ r->out.domain_guid = info->dns.domain_guid;
r->out.domain_sid = dom_sid_dup(mem_ctx, info->dns.sid);
NT_STATUS_HAVE_NO_MEMORY(r->out.domain_sid);
}