summaryrefslogtreecommitdiff
path: root/source4/setup/provision
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-11-25 15:43:53 +1100
committerAmitay Isaacs <amitay@gmail.com>2011-11-29 16:00:36 +1100
commit1e935d1bdc095187b68cd93ff8a1ee9498f8ad11 (patch)
treec4574d50bfc68a0539d695fee84966cbff962021 /source4/setup/provision
parent7ac5c5061eafa3f6b3c85ab68eefc007564cadcb (diff)
downloadsamba-1e935d1bdc095187b68cd93ff8a1ee9498f8ad11.tar.gz
samba-1e935d1bdc095187b68cd93ff8a1ee9498f8ad11.tar.bz2
samba-1e935d1bdc095187b68cd93ff8a1ee9498f8ad11.zip
s4-provision: Make BIND9_DLZ as the default backend for DNS
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-xsource4/setup/provision6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index f4f6b10042..cea8823d09 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -84,8 +84,8 @@ parser.add_option("--machinepass", type="string", metavar="PASSWORD",
parser.add_option("--dns-backend", type="choice", metavar="NAMESERVER-BACKEND",
choices=["SAMBA_INTERNAL", "BIND9_FLATFILE", "BIND9_DLZ", "NONE"],
help="The DNS server backend. SAMBA_INTERNAL is the builtin name server, " \
- "BIND9_FLATFILE uses bind9 text database to store zone information (default), " \
- "BIND9_DLZ uses samba4 AD to store zone information, " \
+ "BIND9_FLATFILE uses bind9 text database to store zone information, " \
+ "BIND9_DLZ uses samba4 AD to store zone information (default), " \
"NONE skips the DNS setup entirely (not recommended)")
parser.add_option("--dnspass", type="string", metavar="PASSWORD",
help="choose dns password (otherwise random)")
@@ -204,7 +204,7 @@ elif opts.function_level == "2008_R2":
dom_for_fun_level = DS_DOMAIN_FUNCTION_2008_R2
if opts.dns_backend is None:
- dns_backend = "BIND9_FLATFILE"
+ dns_backend = "BIND9_DLZ"
else:
dns_backend = opts.dns_backend