diff options
Diffstat (limited to 'source4/setup')
-rwxr-xr-x | source4/setup/provision | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/setup/provision b/source4/setup/provision index 882a92ad48..bf6898faa8 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -131,8 +131,8 @@ if opts.interactive: else: print "%s: " % (prompt,), return sys.stdin.readline().rstrip("\n") or default - opts.realm = ask("Realm", socket.gethostname().split(".", 1)[1]) - opts.domain = ask("Domain", opts.realm) + opts.realm = ask("Realm", socket.gethostname().split(".", 1)[1].upper()) + opts.domain = ask("Domain", opts.realm.split(".")[0]) opts.server_role = ask("Server Role (dc, member, standalone)", "dc") for i in range(3): opts.adminpass = getpass("Administrator password: ") |