summaryrefslogtreecommitdiff
path: root/source4/dns_server/dnsserver_common.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-04-11 12:43:22 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-06-10 21:48:21 +0200
commitc1bf6d24936b5255b9a714f8f252e281b7f82c9f (patch)
tree4124e8d64cc23be412bd52173dcdd987df200729 /source4/dns_server/dnsserver_common.h
parent21e76e2379934e55a4e9fc3b9cbea890a8fb535f (diff)
downloadsamba-c1bf6d24936b5255b9a714f8f252e281b7f82c9f.tar.gz
dns_server: clobber MNAME in the SOA
Otherwise, we always report the first server we created/provisioned the AD domain on which does not match AD behaviour. AD is multi-master so all RW servers are a master. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/dns_server/dnsserver_common.h')
-rw-r--r--source4/dns_server/dnsserver_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dns_server/dnsserver_common.h b/source4/dns_server/dnsserver_common.h
index 293831f0acb..b615e2dcfae 100644
--- a/source4/dns_server/dnsserver_common.h
+++ b/source4/dns_server/dnsserver_common.h
@@ -35,7 +35,8 @@ struct dns_server_zone {
struct ldb_dn *dn;
};
-WERROR dns_common_extract(const struct ldb_message_element *el,
+WERROR dns_common_extract(struct ldb_context *samdb,
+ const struct ldb_message_element *el,
TALLOC_CTX *mem_ctx,
struct dnsp_DnssrvRpcRecord **records,
uint16_t *num_records);