summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/libjs/upgrade.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/libjs/upgrade.js b/source4/scripting/libjs/upgrade.js
index 51818487eb..158e22eadd 100644
--- a/source4/scripting/libjs/upgrade.js
+++ b/source4/scripting/libjs/upgrade.js
@@ -499,15 +499,15 @@ function upgrade_smbconf(oldconf,mark)
if (oldconf.get("domain logons") == "True") {
if (oldconf.get("domain master") == "True") {
- newconf.set("role", "pdc");
+ newconf.set("server role", "pdc");
} else {
- newconf.set("role", "bdc");
+ newconf.set("server role", "bdc");
}
} else {
if (oldconf.get("domain master") == "True") {
- newconf.set("role", "standalone");
+ newconf.set("server role", "standalone");
} else {
- newconf.set("role", "member server");
+ newconf.set("server role", "member server");
}
}