summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_become_dc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-08-24 13:51:01 +1000
committerAndrew Tridgell <tridge@samba.org>2011-08-25 07:39:39 +1000
commit085936926a446a289b88dfafcfe425c5dfe615b1 (patch)
tree5bd4ddccdf211184ff2489256dcb76796e17123f /source4/libnet/libnet_become_dc.c
parent4f421d04064c7f1a3a4052a37c2908a8e5dbeb89 (diff)
downloadsamba-085936926a446a289b88dfafcfe425c5dfe615b1.tar.gz
samba-085936926a446a289b88dfafcfe425c5dfe615b1.tar.bz2
samba-085936926a446a289b88dfafcfe425c5dfe615b1.zip
s4-libnet: fixed forest DNS name
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libnet/libnet_become_dc.c')
-rw-r--r--source4/libnet/libnet_become_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index bfa637255c..34ca97c274 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -2935,7 +2935,7 @@ static void becomeDC_drsuapi_update_refs_send(struct libnet_BecomeDC_state *s,
ntds_dns_name = talloc_asprintf(r, "%s._msdcs.%s",
ntds_guid_str,
- s->domain.dns_name);
+ s->forest.dns_name);
if (composite_nomem(ntds_dns_name, c)) return;
r->in.bind_handle = &drsuapi->bind_handle;