summaryrefslogtreecommitdiff
path: root/source4/setup/provision
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-xsource4/setup/provision7
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 1d847decef..f4f6b10042 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -187,12 +187,7 @@ if not opts.adminpass:
lp = sambaopts.get_loadparm()
smbconf = lp.configfile
-if opts.server_role == "dc":
- server_role = "domain controller"
-elif opts.server_role == "member":
- server_role = "member server"
-else:
- server_role = opts.server_role
+server_role = opts.server_role
if server_role is None:
server_role = "domain controller"