]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libnet_join: remember the domain_guid for AD domains
authorStefan Metzmacher <metze@samba.org>
Wed, 17 May 2017 13:45:22 +0000 (15:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 08:51:17 +0000 (10:51 +0200)
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>
(cherry picked from commit fc2bad0cf34fca5e65fba7e036acf1d8c61f05c0)

source3/libnet/libnet_join.c

index b16a0c0f48503f00b786cb43ffbb2b4c4d8193f9..5010571fb067ad231d241dc6e716aea33e7016f5 100644 (file)
@@ -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);
        }