diff options
author | Andrew Bartlett <abartlet@samba.org> | 2017-04-11 12:43:22 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-06-10 21:48:21 +0200 |
commit | c1bf6d24936b5255b9a714f8f252e281b7f82c9f (patch) | |
tree | 4124e8d64cc23be412bd52173dcdd987df200729 /python | |
parent | 21e76e2379934e55a4e9fc3b9cbea890a8fb535f (diff) | |
download | samba-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 'python')
-rw-r--r-- | python/samba/samdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/samdb.py b/python/samba/samdb.py index 638fa06ec8a..6fe680d30d8 100644 --- a/python/samba/samdb.py +++ b/python/samba/samdb.py @@ -940,7 +940,7 @@ accountExpires: %u def dns_extract(self, el): '''Return the NDR database structures from a dnsRecord element''' - return dsdb_dns.extract(el) + return dsdb_dns.extract(self, el) def dns_replace(self, dns_name, new_records): '''Do a DNS modification on the database, sets the NDR database |