summaryrefslogtreecommitdiff
path: root/source4/setup/provision
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-09-30 16:23:39 -0700
committerKai Blin <kai@samba.org>2011-10-02 11:59:19 +0200
commit5c890ad17ff84bd6ed1dfb26df3cac439fcf37c3 (patch)
tree16deff3876a497dfca692e18fc3194996f56ab9e /source4/setup/provision
parent95bb2c23e6e9c52a1e34916dff05b1d306278bc6 (diff)
downloadsamba-5c890ad17ff84bd6ed1dfb26df3cac439fcf37c3.tar.gz
samba-5c890ad17ff84bd6ed1dfb26df3cac439fcf37c3.tar.bz2
samba-5c890ad17ff84bd6ed1dfb26df3cac439fcf37c3.zip
s4 provision: Set server role default when called from command line to 'dc'
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-xsource4/setup/provision3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 315de78821..d05af51fa3 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -198,6 +198,9 @@ elif opts.server_role == "member":
else:
server_role = opts.server_role
+if server_role is None:
+ server_role = "domain controller"
+
if opts.function_level is None:
dom_for_fun_level = None
elif opts.function_level == "2000":