diff options
author | Björn Baumbach <bb@sernet.de> | 2012-03-20 11:10:44 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-03-21 16:11:25 +0100 |
commit | 70e71240e27e4b36b235afc0aeb302710a2b580e (patch) | |
tree | 0bee59f19dfe83adc8273dbd05f3c6f98ee1a66e /source4 | |
parent | 0f35c4a242db4dd545bfacd86d38e596e06454bc (diff) | |
download | samba-70e71240e27e4b36b235afc0aeb302710a2b580e.tar.gz samba-70e71240e27e4b36b235afc0aeb302710a2b580e.tar.bz2 samba-70e71240e27e4b36b235afc0aeb302710a2b580e.zip |
s4-provision: don't ask only 3 times for passwd in interactive mode
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/setup/provision | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision index 57183540db..554a516802 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -164,7 +164,7 @@ if opts.interactive: sys.exit(1) opts.server_role = ask("Server Role (dc, member, standalone)", "dc") - for i in range(3): + while True: adminpass = getpass("Administrator password: ") if not adminpass: print >>sys.stderr, "Invalid administrator password." |