summaryrefslogtreecommitdiff
path: root/source4/setup/provision
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-09-10 09:44:07 +0200
committerStefan Metzmacher <metze@samba.org>2012-09-10 11:45:08 +0200
commit06809f4ba9b41e51d444806304a40b719f8c768a (patch)
treed641088035c9552d6774c6e654607d29ee603cfc /source4/setup/provision
parente3b6b465ee4837de647c90eb6c1ac4af2047b06a (diff)
downloadsamba-06809f4ba9b41e51d444806304a40b719f8c768a.tar.gz
samba-06809f4ba9b41e51d444806304a40b719f8c768a.tar.bz2
samba-06809f4ba9b41e51d444806304a40b719f8c768a.zip
s4:provision: ask the admin about the desired DNS implementation
In interactive mode we should let the admin confirm which implementation he wants. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Sep 10 11:45:08 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-xsource4/setup/provision6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 2df718e4ec..6cb4674b21 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -167,6 +167,12 @@ if opts.interactive:
sys.exit(1)
opts.server_role = ask("Server Role (dc, member, standalone)", "dc")
+
+ opts.dns_backend = ask("DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)", "BIND9_DLZ")
+ if opts.dns_backend in (None, ''):
+ print >> sys.stderr, "No DNS backend set!"
+ sys.exit(1)
+
while True:
adminpass = getpass("Administrator password: ")
if not adminpass: