summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-23 16:36:33 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-23 19:19:54 +1100
commitc623b4bbb8963baf82d1582abe29b7d54d09397c (patch)
treece1e035294bb3ae28fee02afe008afc142f3f862
parentb0798cc0131df4abc314317e43f597c328deaceb (diff)
downloadsamba-c623b4bbb8963baf82d1582abe29b7d54d09397c.tar.gz
samba-c623b4bbb8963baf82d1582abe29b7d54d09397c.tar.bz2
samba-c623b4bbb8963baf82d1582abe29b7d54d09397c.zip
s4-provision: Fix typo in 9b9fdeefb47f2657c9bb4c2f48318550da510209
This was not found to to a bug in the selftest system. Andrew Bartlett
-rw-r--r--source4/scripting/python/samba/provision/sambadns.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/provision/sambadns.py b/source4/scripting/python/samba/provision/sambadns.py
index e8bb752fc0..2aefe4dae0 100644
--- a/source4/scripting/python/samba/provision/sambadns.py
+++ b/source4/scripting/python/samba/provision/sambadns.py
@@ -856,7 +856,7 @@ def create_dns_legacy(samdb, domainsid, forestdn, dnsadmins_sid):
def fill_dns_data_legacy(samdb, domainsid, forestdn, dnsdomain, site, hostname,
- hostip, hostip6):
+ hostip, hostip6, dnsadmins_sid):
# Add domain record
add_domain_record(samdb, forestdn, "CN=System", dnsdomain, domainsid,
dnsadmins_sid)
@@ -992,8 +992,8 @@ def setup_ad_dns(samdb, secretsdb, domainsid, names, paths, lp, logger, dns_back
if os_level == DS_DOMAIN_FUNCTION_2000:
# Populating legacy dns
logger.info("Populating CN=MicrosoftDNS,CN=System,%s" % forestdn)
- fill_dns_data_legacy(samdb, domainsid, forestdn, dnsdoman, site,
- hostame, hostip, hostip6)
+ fill_dns_data_legacy(samdb, domainsid, forestdn, dnsdomain, site,
+ hostname, hostip, hostip6, dnsadmins_sid)
elif dns_backend in ("SAMBA_INTERNAL", "BIND9_DLZ") and \
os_level >= DS_DOMAIN_FUNCTION_2003: