From 70e71240e27e4b36b235afc0aeb302710a2b580e Mon Sep 17 00:00:00 2001 From: Björn Baumbach Date: Tue, 20 Mar 2012 11:10:44 +0100 Subject: s4-provision: don't ask only 3 times for passwd in interactive mode Signed-off-by: Michael Adam --- source4/setup/provision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." -- cgit