From 41d48626e24324c726793856c3c907c0dd89f3a1 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Sat, 15 Oct 2011 12:27:55 +0200 Subject: s4 provision: Reword opinionated dns backend help text, add NONE backend --- source4/scripting/python/samba/provision/sambadns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting/python') 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, # - # 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): -- cgit