summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs/upgrade.js
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-03 21:20:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:43 -0500
commita7d517d6daf8a55dbfbcde80fa7e61e31dfc49be (patch)
treee28fd71df27431b1e19da1d90d37ed0b0004b4e9 /source4/scripting/libjs/upgrade.js
parent65bf7621d9cb40650478bb126332c5d5cf2301f1 (diff)
downloadsamba-a7d517d6daf8a55dbfbcde80fa7e61e31dfc49be.tar.gz
samba-a7d517d6daf8a55dbfbcde80fa7e61e31dfc49be.tar.bz2
samba-a7d517d6daf8a55dbfbcde80fa7e61e31dfc49be.zip
r12704: role => server role
(This used to be commit 5884a7effff0b11e82c9d273dbd0407b0f2eb02d)
Diffstat (limited to 'source4/scripting/libjs/upgrade.js')
-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");
}
}