summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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":