samba-cvs.cvs
[Top] [All Lists]

[SCM] Samba Shared Repository - branch master updated - b09d2edf26f1713e

Subject: [SCM] Samba Shared Repository - branch master updated - b09d2edf26f1713e015920dddaacc6212f1f779a
From: Jelmer Vernooij
Date: Tue, 16 Dec 2008 09:17:37 -0600 CST
The branch, master has been updated
       via  b09d2edf26f1713e015920dddaacc6212f1f779a (commit)
      from  fda16c1c71ca84d5824173cc5fb3dafc84e7b67c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b09d2edf26f1713e015920dddaacc6212f1f779a
Author: Jelmer Vernooij <jelmer@xxxxxxxxx>
Date:   Tue Dec 16 16:17:30 2008 +0100

    s4/provision: Upper case default realm, use only first part of realm as 
default domain name.

-----------------------------------------------------------------------

Summary of changes:
 source4/setup/provision |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/setup/provision b/source4/setup/provision
index 882a92a..bf6898f 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: ")


-- 
Samba Shared Repository

<Prev in Thread] Current Thread [Next in Thread>
  • [SCM] Samba Shared Repository - branch master updated - b09d2edf26f1713e015920dddaacc6212f1f779a, Jelmer Vernooij <=