summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/libjs/upgrade.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/scripting/libjs/upgrade.js b/source4/scripting/libjs/upgrade.js
index 9a5818c81f..adb958a236 100644
--- a/source4/scripting/libjs/upgrade.js
+++ b/source4/scripting/libjs/upgrade.js
@@ -497,13 +497,9 @@ function upgrade_smbconf(oldconf,mark)
}
if (oldconf.get("domain logons") == "True") {
- if (oldconf.get("domain master") == "True") {
- newconf.set("server role", "pdc");
- } else {
- newconf.set("server role", "bdc");
- }
+ newconf.set("server role", "domain controller");
} else {
- if (oldconf.get("domain master") == "True") {
+ if (oldconf.get("security") == "user") {
newconf.set("server role", "standalone");
} else {
newconf.set("server role", "member server");