diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-09-10 09:44:07 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-10 11:45:08 +0200 |
commit | 06809f4ba9b41e51d444806304a40b719f8c768a (patch) | |
tree | d641088035c9552d6774c6e654607d29ee603cfc /source4 | |
parent | e3b6b465ee4837de647c90eb6c1ac4af2047b06a (diff) | |
download | samba-06809f4ba9b41e51d444806304a40b719f8c768a.tar.gz |
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')
-rwxr-xr-x | source4/setup/provision | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/setup/provision b/source4/setup/provision index 2df718e4ece..6cb4674b214 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: |