summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-10-15 12:27:55 +0200
committerKai Blin <kai@samba.org>2011-10-17 08:16:12 +0200
commit41d48626e24324c726793856c3c907c0dd89f3a1 (patch)
treebae073515cbfb024a62c372adddcef217b5ad63f /source4/scripting
parent292554c396d0a848bb73423e08a5f30eba1d4907 (diff)
downloadsamba-41d48626e24324c726793856c3c907c0dd89f3a1.tar.gz
samba-41d48626e24324c726793856c3c907c0dd89f3a1.tar.bz2
samba-41d48626e24324c726793856c3c907c0dd89f3a1.zip
s4 provision: Reword opinionated dns backend help text, add NONE backend
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/provision/sambadns.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/provision/sambadns.py b/source4/scripting/python/samba/provision/sambadns.py
index b83be18a72..ee2dd3bacf 100644
--- a/source4/scripting/python/samba/provision/sambadns.py
+++ b/source4/scripting/python/samba/provision/sambadns.py
@@ -465,7 +465,7 @@ def setup_ad_dns(samdb, names, logger, hostip=None, hostip6=None, dns_backend=No
# If dns_backend is BIND9_FLATFILE
# Populate only CN=MicrosoftDNS,CN=System,<DOMAINDN>
#
- # If dns_backend is SAMBA or BIND9_DLZ
+ # If dns_backend is SAMBA_INTERNAL or BIND9_DLZ
# Populate DNS partitions
if os_level is None:
@@ -514,7 +514,7 @@ def setup_ad_dns(samdb, names, logger, hostip=None, hostip6=None, dns_backend=No
add_dc_domain_records(samdb, domaindn, "CN=System", site, dnsdomain,
hostname, hostip, hostip6)
- elif (dns_backend == "SAMBA" or dns_backend == "BIND9_DLZ") and (
+ elif (dns_backend == "SAMBA_INTERNAL" or dns_backend == "BIND9_DLZ") and (
os_level == DS_DOMAIN_FUNCTION_2003 or
os_level == DS_DOMAIN_FUNCTION_2008 or
os_level == DS_DOMAIN_FUNCTION_2008_R2):