summaryrefslogtreecommitdiff
path: root/source4/setup/provision
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-09-05 16:09:59 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-09-08 00:35:37 +0200
commit595b9c4cc6a8a4937aff119583dd114092c04ccc (patch)
treed5fa23e091fca7ba64396432b5626b48da04f658 /source4/setup/provision
parent92169e9debd955bda8f9f776954b750812bdf519 (diff)
downloadsamba-595b9c4cc6a8a4937aff119583dd114092c04ccc.tar.gz
samba-595b9c4cc6a8a4937aff119583dd114092c04ccc.tar.bz2
samba-595b9c4cc6a8a4937aff119583dd114092c04ccc.zip
s4-provision: Add DNS backend option to provision
This option is introduced temporarily to test bind9 backend with and without dlz_dlopen module. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-xsource4/setup/provision4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 37faafd812..39ef62d4b3 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -74,6 +74,9 @@ parser.add_option("--krbtgtpass", type="string", metavar="PASSWORD",
help="choose krbtgt password (otherwise random)")
parser.add_option("--machinepass", type="string", metavar="PASSWORD",
help="choose machine password (otherwise random)")
+parser.add_option("--dns-backend", type="choice", metavar="NAMESERVER-BACKEND",
+ choices=["SAMBA", "BIND9", "BIND9_DLZ"],
+ help="The DNS server backend. SAMBA is the builtin name server (experimental), BIND9 uses bind9 text database to store zone information (default), BIND9_DLZ uses samba4 AD to store zone information (recommended)")
parser.add_option("--dnspass", type="string", metavar="PASSWORD",
help="choose dns password (otherwise random)")
parser.add_option("--ldapadminpass", type="string", metavar="PASSWORD",
@@ -244,6 +247,7 @@ try:
ntdsguid=opts.ntds_guid,
invocationid=opts.invocationid, adminpass=opts.adminpass,
krbtgtpass=opts.krbtgtpass, machinepass=opts.machinepass,
+ dns_backend=opts.dns_backend,
dnspass=opts.dnspass, root=opts.root, nobody=opts.nobody,
wheel=opts.wheel, users=opts.users,
serverrole=server_role, dom_for_fun_level=dom_for_fun_level,